I'm using Access 2003.
I'm trying to make a combo box refresh in a given form after making changes to the cb from another form (while the original is open).
So here's the sequence:
1. User opens main form containing cb control.
2. User adds or changes an entry in the table feeding the cb (from within another edit form)
3. User clicks on cb on main form and wants to see the revised list.
Unfortunately, I cannot get it to work. I tried adding a Requery command to the OnClick event of the cb to no avail:
I realize that I could have the combo box add the new entry on the fly, but the clients do not want that.
Is this possible?
Thanks for any help you can give.
Wayne
I'm trying to make a combo box refresh in a given form after making changes to the cb from another form (while the original is open).
So here's the sequence:
1. User opens main form containing cb control.
2. User adds or changes an entry in the table feeding the cb (from within another edit form)
3. User clicks on cb on main form and wants to see the revised list.
Unfortunately, I cannot get it to work. I tried adding a Requery command to the OnClick event of the cb to no avail:
Code:
Private Sub cmbVesselID_Click()
Me.cmbVesselID.Requery
End Sub
I realize that I could have the combo box add the new entry on the fly, but the clients do not want that.
Is this possible?
Thanks for any help you can give.
Wayne