I have a form called 'Order Details' that contain a field called 'Name' and combobox called 'Product Code'. The combo box is sourced from a table called 'Titles'.
When the value in the combobox 'Product Code' is changed, I would like the 'Name' field to lookup the corresponding value from the 'Titles' table. But I can't get Dlookup to work. And it's driving me mad! Here's the code I'm using as the Control Source for the 'Name' text box:
=DLookUp("[Title Name]","Titles","
When the value in the combobox 'Product Code' is changed, I would like the 'Name' field to lookup the corresponding value from the 'Titles' table. But I can't get Dlookup to work. And it's driving me mad! Here's the code I'm using as the Control Source for the 'Name' text box:
=DLookUp("[Title Name]","Titles","
Code:
=forms!Order_Details![Product Code]")