an ASP question (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


yonk -> an ASP question (10/2/2001 23:07:00)

Gello,
can someone tell me how i could put this properly, its an if then else statement,
i want to say that: If SumTotal < 30 AND SumTotal >= 17 Then
( here i would like to clear sumtotal and form a new equation with it, like:
SumTotal = "" AND SumTotal now is = red + blue Then
go on
End If
End If
I have a previous sunmtotal and things going on so i can't clear it b4 the If SumTotal < 30 i need to clear it after?
Any...ideas anyone? looking forward to it.





Mojo -> RE: an ASP question (10/3/2001 20:21:00)

You look like you have it. (Except that this is a VBScript question, not an ASP question)

If SumTotal < 30 AND SumTotal >= 17 Then
SumTotal = Red + Blue
End IF

You don't need to "clear" it in VBScript.

Joe






Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875