Researcher
I.T. Veteran
- Local time
- Yesterday, 19:00
- Joined
- Oct 11, 2006
- Messages
- 42
I have two tbls, one called Inventory and the other is called description.
Inventory stores all the users input data, the fields are:
ID, Part Number, Description, Date, Technician, Notes, Organization, Qty Add, Qty Subtract and Requirement.
Description is a tbl where I store the fields:
ID, part number and description.
What I am trying to do when data is input to the part number field I would like the description field to be populated with the description that fits that part number.
I have used on the description field control source:
=DLookUp("[Description]","[Description]","[Part_Number]=" & [Part_Number])
and
=DLookup("[Description]","[Description]","[ID]=" & Forms!Inventory!ID)
Neither with no success...can anyone help me out with my syntax?
BTW...Part_Number and Description are text fields in both tbl's. and the description tbl was originally used to import the data into a combo box which I changed to a text box.
Inventory stores all the users input data, the fields are:
ID, Part Number, Description, Date, Technician, Notes, Organization, Qty Add, Qty Subtract and Requirement.
Description is a tbl where I store the fields:
ID, part number and description.
What I am trying to do when data is input to the part number field I would like the description field to be populated with the description that fits that part number.
I have used on the description field control source:
=DLookUp("[Description]","[Description]","[Part_Number]=" & [Part_Number])
and
=DLookup("[Description]","[Description]","[ID]=" & Forms!Inventory!ID)
Neither with no success...can anyone help me out with my syntax?
BTW...Part_Number and Description are text fields in both tbl's. and the description tbl was originally used to import the data into a combo box which I changed to a text box.
Last edited: