Lee h
09-16-2001, 03:45 AM
I am new to access and my previous experience was with excel. Basically I want a field/s to populate automatically to what is put into another field. (a vlookup in excel).
I tried a few things I found in the help file etc but none have worked.
I.e Populate the location field in the new Beer form from the brewerys table when the brewery name on the form is equal to the brewery name on the table.
=DLookUp("LOCATION","BREWERYS","BREWERY NAME =[BREWERY NAME] ")
Please help. I entered this in the control source on the field i need to be populated is this correct?
I tried a few things I found in the help file etc but none have worked.
I.e Populate the location field in the new Beer form from the brewerys table when the brewery name on the form is equal to the brewery name on the table.
=DLookUp("LOCATION","BREWERYS","BREWERY NAME =[BREWERY NAME] ")
Please help. I entered this in the control source on the field i need to be populated is this correct?