PhoneTech2
Technical User
I have several tables. The key field that links these tables is called device_id.
When I use dlookup in a report I run into a problem.
If I want to display an extension number from table devices I enter a dlookup statement that looks like this:
=dlookup("extension","devices","device_id=device_id)
It does not work.
If I first create a text box: Text1=device_id and then do a lookup:
=dlookup("extension","devices","device_id=text1"
It works. What am I doing wrong?
When I use dlookup in a report I run into a problem.
If I want to display an extension number from table devices I enter a dlookup statement that looks like this:
=dlookup("extension","devices","device_id=device_id)
It does not work.
If I first create a text box: Text1=device_id and then do a lookup:
=dlookup("extension","devices","device_id=text1"
It works. What am I doing wrong?