View Single Post
  #1 (permalink)  
Old Jan 27th, 2008, 21:49
VegaLA VegaLA is offline
Junior Member
Join Date: Dec 2007
Location: Los Angeles
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Get value from SQL string ?

Hi all,
I am trying to get the value from a SQL string and store it in a variable but i'm guessing DLookup is not used in VBScript/ASP as it is with Access/VBA which is my background so the synax below is of course not working !

HTML: Select all
strvalue = dlookup("PicInsert") FROM tblCon WHERE "Name" = Request.Form("contributor")
How would I go about doing this ?
Thanks in advance,
Mitch...

Last edited by Monie; Jan 28th, 2008 at 00:34. Reason: adding the [html] tag for asp code...
Reply With Quote