G
GD
Happy Holidays!!
I want to auto fill a text box using two other text boxes as criteria, but
my DLOOKUP results in unrelated data.
The data I need is VendorName
The criteria are Invoice# in tblMASTER (to coincide with Text40 on the form)
and Vendor# in tblMASTER (to coincide with Text52 on the form)
=DLookUp("[tblMASTER]![VendorName]","tblMASTER","[tblMASTER]![Invoice#]='" &
Forms!frmGregTest!Text40 & "'" And "[tblMASTER]![Vendor#]='" &
Forms!frmGregTest!Text52 & "'")
Where's my goof??
I want to auto fill a text box using two other text boxes as criteria, but
my DLOOKUP results in unrelated data.
The data I need is VendorName
The criteria are Invoice# in tblMASTER (to coincide with Text40 on the form)
and Vendor# in tblMASTER (to coincide with Text52 on the form)
=DLookUp("[tblMASTER]![VendorName]","tblMASTER","[tblMASTER]![Invoice#]='" &
Forms!frmGregTest!Text40 & "'" And "[tblMASTER]![Vendor#]='" &
Forms!frmGregTest!Text52 & "'")
Where's my goof??