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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing my combo box after update or add

Status
Not open for further replies.

outonalimb

Technical User
Oct 7, 2003
454
GB

Is it possible to get a combo box to refresh its value after an update or addition to an Access database?

At the moment i'm having to close my program down and reopen it to see any changes.

I'm displaying the first line of an address in the combo box. The user can then choose to edit the selected address or add a completely new property to the database.

I want this to be immediately reflected in the program.

Regards,



 
My solution might be not the best, but it works - after changes in database are made, I clear my combo box and then populate it again...
 

Alternatively you can use additem after a new data is inserted or you can change the text using listindex property to reflect the changes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top