Results 1 to 3 of 3

Thread: Syntax error??

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Posts
    63

    Question

    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

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    Try this:

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

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2000
    Posts
    63
    Perfect... Thank you...

    Kind Regards,
    Hakan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width