-
1
- #1
Hi All<br>
I am having a major problem using the DLookup function in a query. I can enter the expr and domain with no problem, but when I enter the criteria, I get an error that Access cant find the criteria.<br>
<br>
Colour: DLookUp("[color]","ColorCodeTable","[Colorcodes]=[TestValue]"<br>
<br>
Using this statement, I get an error that Access can't find "TestValue". TestValue is a field in the current Query.<br>
<br>
As always any help would be greatly appreciated.<br>
<br>
Best Regards,<br>
John
I am having a major problem using the DLookup function in a query. I can enter the expr and domain with no problem, but when I enter the criteria, I get an error that Access cant find the criteria.<br>
<br>
Colour: DLookUp("[color]","ColorCodeTable","[Colorcodes]=[TestValue]"<br>
<br>
Using this statement, I get an error that Access can't find "TestValue". TestValue is a field in the current Query.<br>
<br>
As always any help would be greatly appreciated.<br>
<br>
Best Regards,<br>
John