Refresh a Combo Box

Brando

Enthusiastic Novice
Local time
Today, 11:53
Joined
Apr 4, 2006
Messages
100
Hello,

Thank you in advance for your help.

I have a Main form with a combo box that pulls names from a table. Alongside the combo box is a command button that opens a form which allows the user to edit the names in the table.

The problem: When a user edits a name and closes the edit form, the edit is not immediately displayed in the combo box. However, when the Main form is closed and reopened, the edit is properly displayed. Can I somehow refresh the combo box in the On Close event of the edit form?

Brando
 
Try

Forms!MainFormName.ComboName.Requery
 
Simple perfection! Thank you!
 

Users who are viewing this thread

Back
Top Bottom