troubleshooting Question

Can't refresh combox box and/or query

Avatar of swindsorct
swindsorctFlag for United States of America asked on
Microsoft Access
6 Comments1 Solution247 ViewsLast Modified:
I am having difficult getting a combobox field to refresh/requery…

I have a table of  customers, with an autonumber key.   I have a second table of contacts for those customers (also with autonumber key).  Because the contacts may be attached to multiple customers  I have created a link table where the customer autonumber and the contact auto numbers are stored.    When I display the customer,  a subform of this linked table filters on the customer number, and displays a list of matching links.   To display the contacts in a human friendly manner I have a combo box based on a query of the contact table.

This is so that in the event one contact is used of multiple customers there is only on contact to maintain.  So far all this works well.  If the user double clicks a contact in the combo box  that contact opens for display and editing.

When the user double clicks the blank bottom (add a record row)  contact,  the form opens with a blank record to be added.    Records add just fine.  But when I go back to the combo form,  the new record is on there….in the combo box.   I have found that the record has been added to the contact table, and the link table.    It seems the query has not refreshed/requeried, and/or the form/ combo box has not refreshed/requeried.

It has been a log time since I have done this programming,  I get the feeling I am looking straight at the problem…..and not seeing it.   (can’t see the forest cause all those trees are in the way).

i'm using ms access 2003
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros