I am using Dlookup on a form to find a weight value (like 1 gram) in a table called standard. The field in standard that contains the weights is call denom_actl. Every record in standard has a unique serial number (serial_no).
On the form I am using an unbound box called serial to enter the serial number. Then I have an unbound box called denom and in its control source I add the following dlookup;
=DLookup("[denom_actl]","[standard]","[serial_no]=[serial]")
This should produce the weight associated with the specified serial number, and it does but only after I go to design view and come back. How can I correct this?
Thanks in advance for any help. GGuy
On the form I am using an unbound box called serial to enter the serial number. Then I have an unbound box called denom and in its control source I add the following dlookup;
=DLookup("[denom_actl]","[standard]","[serial_no]=[serial]")
This should produce the weight associated with the specified serial number, and it does but only after I go to design view and come back. How can I correct this?
Thanks in advance for any help. GGuy