G
Guest
I am trying to set up a DLookUp in Access 2000. What I am trying to do is
automatically populate the Name/Address/City, State, & Zip when you enter the
client number in a form.
The form [Engineer_AP] currently has fields names:
Engineer (5 digit Alpha), Name, Address, City, State, & Zip.
The table that I am trying to get this from [Consultants] has the same fields.
The DLookUp that I am using is as follows:
=DLookUp("[Name]","[Consultants]","[Engineer] = " &
[Forms]![Engineer_AP]![Engineer])
all I get is a flashing #Error in the form. I have tested the Lookup up
(using the CTRL+G command) to the =DLookUp("[Name]","[Consultants]") and
received the first Consultants name as suggested in the help, but can not get
any further. Any assistance would be appreciated.
automatically populate the Name/Address/City, State, & Zip when you enter the
client number in a form.
The form [Engineer_AP] currently has fields names:
Engineer (5 digit Alpha), Name, Address, City, State, & Zip.
The table that I am trying to get this from [Consultants] has the same fields.
The DLookUp that I am using is as follows:
=DLookUp("[Name]","[Consultants]","[Engineer] = " &
[Forms]![Engineer_AP]![Engineer])
all I get is a flashing #Error in the form. I have tested the Lookup up
(using the CTRL+G command) to the =DLookUp("[Name]","[Consultants]") and
received the first Consultants name as suggested in the help, but can not get
any further. Any assistance would be appreciated.