Hello all --
I have a table named tblSystemInformation and a table named tblBuildingCodes. Items in the SystemInformation table have a code assigned to them; I would like the description matching this code, in the BuildingCodes table to appear in a text box (called BuildingName) when the combo box displaying the building code is updated. So I used the following Dlookup statement:
=dlookup("[Description]", "tblBuildingCodes", "[cboBuildingCodes] =" _
&Forms![frmSystemInformation]!BuildingName)
But it errors and expects a line number or label statement at the end of statement... what am I doing wrong?????
Thanks,
Chris
I have a table named tblSystemInformation and a table named tblBuildingCodes. Items in the SystemInformation table have a code assigned to them; I would like the description matching this code, in the BuildingCodes table to appear in a text box (called BuildingName) when the combo box displaying the building code is updated. So I used the following Dlookup statement:
=dlookup("[Description]", "tblBuildingCodes", "[cboBuildingCodes] =" _
&Forms![frmSystemInformation]!BuildingName)
But it errors and expects a line number or label statement at the end of statement... what am I doing wrong?????
Thanks,
Chris