R
rmccafferty
I have a combo box that I set up with the wizard. It is based on a table and
uses the 3rd option of searching for an existing record. The wizard allows me
to set up the lookup with 2 fields, Fname and Lname in my Customers table.
When the selection is made, the last name appears as the result in the combo
box, which is what I want.
If I assign this control (the combo box) to the last name field, when I do a
lookup and make a selection from the drop down box, I get an error message
that says:
You tried to call Update or CancelUpdate or attempted to update a Field in a
recordset without first calling AddNew or Edit. (Error 3020)
If I keep the combo box control as unbound and have a separate bound control
for last name, then it works fine. But that seems stupid to have two controls
both showing the last name field, and potentially very confusing to the users.
How do I just let the entry default to the last name field in the underlying
table?
uses the 3rd option of searching for an existing record. The wizard allows me
to set up the lookup with 2 fields, Fname and Lname in my Customers table.
When the selection is made, the last name appears as the result in the combo
box, which is what I want.
If I assign this control (the combo box) to the last name field, when I do a
lookup and make a selection from the drop down box, I get an error message
that says:
You tried to call Update or CancelUpdate or attempted to update a Field in a
recordset without first calling AddNew or Edit. (Error 3020)
If I keep the combo box control as unbound and have a separate bound control
for last name, then it works fine. But that seems stupid to have two controls
both showing the last name field, and potentially very confusing to the users.
How do I just let the entry default to the last name field in the underlying
table?