The simple answer would be to put quotes around the
string part of your WHERE statement, but I wouldn't
want to just give out the simple answer...  So, I take
back that answer.  :-)

Chris Tifer

----- Original Message -----
From: "Mario Lopes" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 1:46 PM
Subject: Please Querystring Problem


> Hi
> I have the following in a asp page <param name=URL4a
> value="Tperguntasadd.asp?base=Spresent&tes='Simple Present'">
> when i read this value i have
>
> if session("base")="Spresent" then
>
>   strsql = "select * from spresent"
>   end if
>
>   if session("base")="Spast" then
>
>   strsql = "select * from spast"
>   end if
>
> (where session("base")=request.querystring("base")
> and it doesnt work. Why?
>
>
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to