J
Jonathan Brown
I want to make a combo box requery after I've closed a pop up form.
Basically the combo box shows a list of sites. I've added a button that
opens a pop up window to allow the user to create a new site. Once the user
clicks "save and close" the pop up form saves the record and closes. The new
site doesn't appear in the combo box until after I close the form and reopen
it.
Is there some way I can code the pop up form on it's unload event or close
event to force the combo box on the other form to requery?
I tried typing the following in the pop up forms unload event but it didn't
work:
[forms]![subfrmSites]![cboSites].Requery
Basically the combo box shows a list of sites. I've added a button that
opens a pop up window to allow the user to create a new site. Once the user
clicks "save and close" the pop up form saves the record and closes. The new
site doesn't appear in the combo box until after I close the form and reopen
it.
Is there some way I can code the pop up form on it's unload event or close
event to force the combo box on the other form to requery?
I tried typing the following in the pop up forms unload event but it didn't
work:
[forms]![subfrmSites]![cboSites].Requery