DLookup Problem

byTimber

Registered User.
Local time
Yesterday, 20:04
Joined
Apr 14, 2012
Messages
97
Hi All,

I am trying to obtain a field value from my Access table

LVFPath = DLookup("BusinessName", "Table 1")
This works but

LVFPath = DLookup("LVFTemplate", "Table 1")
DOESN'T !!

They are both fields in the same Database Table, Table 1

Variables declared and field names are spelt exactly but No 2 attempt returns null
Can anyone please figure what is awry?
Roger ...
 
Have you tried to add criteria after domain?

And why are you using same variable for different lookups?
 
there definitely is somethnig amiss. how many records are there in table 1?
 
Thank you crxftw - that did it!!

(And thanks for that speedy response)
Roger ..
 
Gemma the Husky; Putting the criteria in sorted out the problem but thanks for your interest...
Roger
 

Users who are viewing this thread

Back
Top Bottom