HakanAzaklioglu
Jun 16th, 2000, 12:08 AM
What would be the proper sytax to combine these two line of code...
I am kinda lost with all these single and double quotation marks..
Sniplet #1
============================================================
set rsRAM = conn.Execute("Select * from TVIMAIN WHERE SYSCAT Like '" _
& Request.QueryString("SystemId") &"' AND ITEMTYPE = 'RAM'")
============================================================
Sniplet #2
============================================================
Like '*' & 'd' & '*'
============================================================
The second sniplet would need to go around the Request.Querystring less the 'd' in the first sniplet
To maybe explain it a little simpler the 'd' in the second sniplet is what I would like to replace with the request.query string in the first sniplet but have the code read in the same layout as the first sniplet of code
Kind Regards,
Hakan
I am kinda lost with all these single and double quotation marks..
Sniplet #1
============================================================
set rsRAM = conn.Execute("Select * from TVIMAIN WHERE SYSCAT Like '" _
& Request.QueryString("SystemId") &"' AND ITEMTYPE = 'RAM'")
============================================================
Sniplet #2
============================================================
Like '*' & 'd' & '*'
============================================================
The second sniplet would need to go around the Request.Querystring less the 'd' in the first sniplet
To maybe explain it a little simpler the 'd' in the second sniplet is what I would like to replace with the request.query string in the first sniplet but have the code read in the same layout as the first sniplet of code
Kind Regards,
Hakan