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

if - statements

Status
Not open for further replies.

KryptoS

Programmer
Feb 7, 2001
240
BE
Hi, me again

I have something like this:

if oRS1(0) = box1 then
...
else
...
end if

oRS1(0) is my primary key of that recordset and box1 = Request.QueryString("Box1"). why doesn't this work?
 
Try this so you can see both values --

response.write(oRS1(0) & &quot;<br>&quot;)
response.write(box1)

it should stick out when you see the values -- It's probably because they are of different data types, but it's hard to tell simply from your post...

If it isn't obvious after you do that, post more code.

:)
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top