Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh drop-down list

Status
Not open for further replies.

cpc34

Technical User
Aug 16, 2005
22
GB
Is there a command that refreshes a dropdown list? I am adding new entries into form A and I want the new name to appear in the list in form B without having to close down the form and reopen it.
 
Hi,

Try:

me.myListBox.requery OR
me.myListBox.refresh

Andrew
 
Or maybe:
Code:
Private Sub Form_AfterUpdate() 
'On Form: frmFormA
Forms!frmFormB.Refresh 
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top