C
cmraguilar
So i've got a Dlookup function that will pull the information correctly when
the form will load. But when the combo box is changed, the Dlookup doesn't
change also. I have another field with a Dlookup function and that works
perfectly. I attemped to use the same code and changing the needed fields,
but I got errors from that.
This is the working code on one text box
=DLookUp("[ParentWSINumber]","tblSupplierParent","[SupplierName]='" &
Nz(Forms![Data Transaction Sets]!cboSupplierParentName.Column(1)) & "'")
This is the code on the text box that only loads once and doesn't change
when the combo box changes.
=DLookUp("[City]","[tblSupplierChild]","[WSInumber] = Forms![Data
Transaction Sets]!cboChildWSINumber")
I know they are pulling from difference combo box's but I dont think that
would make much of a difference. The combo box's have the needed field in
the query to populate them.
Thanks in advnace.
the form will load. But when the combo box is changed, the Dlookup doesn't
change also. I have another field with a Dlookup function and that works
perfectly. I attemped to use the same code and changing the needed fields,
but I got errors from that.
This is the working code on one text box
=DLookUp("[ParentWSINumber]","tblSupplierParent","[SupplierName]='" &
Nz(Forms![Data Transaction Sets]!cboSupplierParentName.Column(1)) & "'")
This is the code on the text box that only loads once and doesn't change
when the combo box changes.
=DLookUp("[City]","[tblSupplierChild]","[WSInumber] = Forms![Data
Transaction Sets]!cboChildWSINumber")
I know they are pulling from difference combo box's but I dont think that
would make much of a difference. The combo box's have the needed field in
the query to populate them.
Thanks in advnace.