andysuth
09-17-2008, 10:08 AM
Dlookup,
Why is it that I can get a result from:
stg2 = DLookup("DOORCODE", "DoorDesign", "DOORDESCRIPTION='Two Central Window Single'")
msgbox(stg2)
but not from:
stg1 = "Two Central Window Single"
MsgBox (stg1)
stg2 = DLookup("DOORCODE", "DoorDesign", "DOORDESCRIPTION=" & stg1)
I don't understand how it is different!!!!!
Can someone please help with Dlookup
Thanks,
-Andy.
Why is it that I can get a result from:
stg2 = DLookup("DOORCODE", "DoorDesign", "DOORDESCRIPTION='Two Central Window Single'")
msgbox(stg2)
but not from:
stg1 = "Two Central Window Single"
MsgBox (stg1)
stg2 = DLookup("DOORCODE", "DoorDesign", "DOORDESCRIPTION=" & stg1)
I don't understand how it is different!!!!!
Can someone please help with Dlookup
Thanks,
-Andy.