I have a form (frmHourEnter) with a combo box (cmbJob) and if the number entered into the combobox is not in the list then another form (frmJob) is opened and a new number is entered. On closing this form I run:
The combo box (cmbJob) does not show the new number unless I close the form (frmHourEnter) and re-opened it.
If I add the following code to the one above:
Then click out of, and then back into cmbJob the number is in the list! What can I do so that the number is in the list when the second form is closed? Thanks Sandy
Code:
Me.Form!frmHourEnter!cmbJob.Requery
If I add the following code to the one above:
Code:
DoCmd.Requery "Form!frmHourEnter!cmbJob"