D B Lawson
08-18-2000, 01:19 PM
I have a form with a combo box that selects a company name from a suppliers table. The address of the company also appears once the name of the supplier has been selected from the list. The combo box is bound to the SupplierID number although that does not appear on the form. Is there anyway to add to the Supplier table if the company is not on the available list. I have done this in a previous form by assigning the dblclick event to a code copied from an Access Wizard database but the syntax I used then is not working this time and I'm getting a msgbox:
"You tried to assign a null value to a variable that is not a variant data type". Not sure what is different about this form and combo box.
"You tried to assign a null value to a variable that is not a variant data type". Not sure what is different about this form and combo box.