Hi. I have been bashing around wuith this for some time now but seem to be hitting a wall. I have a database containing several tables. In the table named vendor_list there are fields vendor_nr and vendor_name - I have created a form named general_rev2 - in the form I have added a text box which I want to output the vendor_name value when I type in the vendor_nr in its field. The properties of the text box has control source:
=DLookUp("[vendor_name]","[vendor_list]","[vendor_nr]=" & Forms!general_rev2!vendor_nr)
Got the above syntax from MS Site but I am obvously doing something wrong - the value I get back is #Name?
Any ideas? Thanks a million
=DLookUp("[vendor_name]","[vendor_list]","[vendor_nr]=" & Forms!general_rev2!vendor_nr)
Got the above syntax from MS Site but I am obvously doing something wrong - the value I get back is #Name?
Any ideas? Thanks a million
