I use a pop-up form to add an entry to the table that is being used as rowsource for a combo box. The problem is that when I close the popup form, I need to re-sort the entries so that the new one is included. Can anyone tell me how to do this
In the On_Close event of your pop-up form, requery the combo box on the calling form. (you can also set the value of the combo box to the new value... let me know if you need help with that)...
Assumptions:
Calling Form (that called pop-up form): frmOriginal
Combo Box (On frmOriginal): cboCategory
Private Sub Form_Close()
Forms!frmOriginal!cboCategory.Requery
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.