PDA

Click to See Complete Forum and Search --> : Syntax error??


HakanAzaklioglu
Jun 14th, 2000, 11:34 PM
I am trying to setup a variable in my asp here is the code below...

set rsRAM = conn.Execute("Select * from TVIMAIN WHERE SYSCAT Like '" _
& Request.QueryString("SystemId") & ITEMTYPE = RAM "'")

and here is the error message I am getting... I am almost sure that it is just syntax...

If anybody has any clues to help me resolve my problem please post

Kind Regards,
Hakan

Negative0
Jun 15th, 2000, 12:27 AM
Try this:

"Select * from TVIMAIN WHERE SYSCAT Like '" _
& Request.QueryString("SystemId") &"' AND ITEMTYPE = 'RAM'"

Hope it helps

HakanAzaklioglu
Jun 15th, 2000, 01:20 AM
Perfect... Thank you...

Kind Regards,
Hakan