A family of Microsoft relational database management systems designed for ease of use.
Hi KaseyJT,
It might be the best option to start from scratch with your combo and take it step by step.
First, open the query you are basing the combo on. Check it to see that all fields you want in your combo are there i.e. 15 or so fields. The first field will be customerID.
Then, open your form. Delete the combo cboCustomerName and delete or comment out the code you have for Private Sub cboCustomerName_AfterUpdate().
Redo the combo based on the query. Leave the column widths at say 1cm or so so you can see all the fields in the combo and know they are showing the correct fields you want, you can make the column widths 0cm later.
Once you are happy the combo is correct and has all the fields look correct, go through each of the unbound text boxes you want to populate, one by one.
If the first textbox is 'customer name' and the second column (first column will be customer id and is column 0) of the combo is customer name then in the control source of the 'customer name' text box add =Me.cboCustomerName.Column(1)
and so on for the remainder of the text boxes, matching the combo box columns with the text boxes.
This will populate all the text boxes with the correct data from the correct columns of your combo box when you select a customer name in the combo
Once you have everything matching up and the text boxes being populated correctly you can set the column widths back to 0 and either leave the text box control sources as is, which will work fine, you don't need the after update of the combo to populate the text boxes, or add back in your code for the after update of the combo, copying each one individually into the code since you now know they are correct, and then deleting the control source for each text box.