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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using request.querystring inside a SELECT CASE 1

Status
Not open for further replies.

nimarii

MIS
Jan 26, 2004
213
US
hello -

i have a select case set up like so:
Code:
select case ucase(actionmode)
'first time user loads page
CASE ""
strExtensionID = Request.QueryString("NoteExtensionId")
CASE "update"
strExtensionID = Request.QueryString("NoteExtensionId")
end select

i seem to be able to successfully get a value back for strExtensionId when the case is "", but always seem to get a null value when trying to retrieve that same value in the "update" case.

what am i missing?

thanks!!!
 
ah, sorry, meant to type "update" as "UPDATE", i have it in caps in my code. sorry!

(good catch tho on that one!)
 
then i think you are losing your variable actionmode's value...check whether you are having the correct value for it...then it comes to see why the select case is failing...

as it seems your actionmode is empty is all the time....

-DNG
 
ahh - you're right DNG, it seems i was forgetting to set the actionmode to "update" at the end of my case "".

thanks!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top