-
Solved: DLookup help needed
Dlookup,
Why is it that I can get a result from:
[vba]
stg2 = DLookup("DOORCODE", "DoorDesign", "DOORDESCRIPTION='Two Central Window Single'")
msgbox(stg2)
[/vba]
but not from:
[vba]
stg1 = "Two Central Window Single"
MsgBox (stg1)
stg2 = DLookup("DOORCODE", "DoorDesign", "DOORDESCRIPTION=" & stg1)
[/vba]
I don't understand how it is different!!!!!
Can someone please help with Dlookup
Thanks,
-Andy.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules