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

Refreshing combo box when item not in list

Status
Not open for further replies.

mulligh

Technical User
May 8, 2001
97
US
Refreshing combo box when item not in list and you've just created a new list entry.

OK, I've got a combo box and an entry must be chosen from the list. If the item entered is not in the list, then a data entry form opens so they can add it. Now when they close this data entry form, I want the combo box to refresh, so that when they press the TAB key (with the new item that should now be in the list), I want it to recognize it in the combo box list. How do I do this? Thanks. :)
 
Hi,

I have used a macro to do this with a combo box based on a query. Set the on enter property of the combo box to a macro that runs the action: requery, control name: comboboxname.

Best regards,

Henr¥
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top