okay, i am doing this as ASP, but very similar to excel, so i think some1 may know about this simple stuff, but i am stuck on it. pls help
If Request("Number1") = "303" Then
Cost1 = "16"
End If
If Request("Number2") = "304" Then
Cost2 = "30"
End If
This bit is fine, but I need to add the 2 costs together to write another if function, saying if the 2 costs together cost more than certain amount, then do something... how do u do adding in an if function???
If Cost1 + Cost2 > "40" Then
Error = "cost too much"
Else
but this does not work, can any help me with this, i got the same problem in excel as well, but pls remmeber this is asp
pls help me,
gamestore@hotmail.com
If Request("Number1") = "303" Then
Cost1 = "16"
End If
If Request("Number2") = "304" Then
Cost2 = "30"
End If
This bit is fine, but I need to add the 2 costs together to write another if function, saying if the 2 costs together cost more than certain amount, then do something... how do u do adding in an if function???
If Cost1 + Cost2 > "40" Then
Error = "cost too much"
Else
but this does not work, can any help me with this, i got the same problem in excel as well, but pls remmeber this is asp
pls help me,
gamestore@hotmail.com