R
Richard Stricker
Hi, I'm having some problems with the Dlookup function. I am trying to link
a text box field from another table to a combo box that is linked to that
other table.
The combo box control source is: BuyerID
This is a foreign key in the products table.
the row source of the combo box(cboBuyerScreenName) is:
SELECT [Buyers].[Buyer_ID], [Buyers].[Buyer_Screen_name] FROM Buyers;
The text box control source:
=DLookUp("[Buyer_contact_email]","Buyers","Buyers_ID =" &
[cboBuyerScreenName.buyerID])
The combo box does track the correct Buyer Screen Name but the text box
shows #name errors.
Any help would be appreciated.
Richard
a text box field from another table to a combo box that is linked to that
other table.
The combo box control source is: BuyerID
This is a foreign key in the products table.
the row source of the combo box(cboBuyerScreenName) is:
SELECT [Buyers].[Buyer_ID], [Buyers].[Buyer_Screen_name] FROM Buyers;
The text box control source:
=DLookUp("[Buyer_contact_email]","Buyers","Buyers_ID =" &
[cboBuyerScreenName.buyerID])
The combo box does track the correct Buyer Screen Name but the text box
shows #name errors.
Any help would be appreciated.
Richard