Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select case problem

Status
Not open for further replies.

guineamation

Programmer
Jan 29, 2002
58
IL
Hi all,
i'm having a problem with the following code:

Select Case request.QueryString("region")
Case uk
sRegion = "UK"
response.write sRegion

Case usa
sRegion = "USA"
response.write sRegion

End Select

the queryString is Ok (i can see it on the address bar) but
i get nothing in response.... blank page
anyone?
 
found the problem!
No " arround the cases....

Case "usa" and not Case usa

Tnaks!
 

If all you want to do is convert these values to uppercase, maybe you could use UCase() ?

Just a thought...


A smile is worth a thousand kind words. So smile, it's easy! :)
 
it is just a fragment of the code, not all i want to do...
but thanks anyways for the replay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top