Hi,
My coding for variables falls down when the the request.querystring empty or the varibale is empty. Please could you point out how it should be.
Thanks
James
My coding for variables falls down when the the request.querystring empty or the varibale is empty. Please could you point out how it should be.
Code:
<%
Dim Variable10, VariableA
If Request.QueryString("switch") = 1 then
Variable10 = off
Else
If Request.QueryString("switch") = 2 then
Variable10 = on
Else
If Request.QueryString("switch") = none existant
then
variable10 must be empty
End
If variable10 = empty vaule
then end
Else
If variable10 = off
Then variableA = off
Else
VariableA = on
Thanks
James