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

Populate a combobox during runtime

Status
Not open for further replies.

noodelz

Technical User
Jun 6, 2001
3
CA
Im trying to develop an access db that will populate a combobox during runtime
I was thinking of using a command button to submit the .additem entries but I can't figure out how
(Not very experienced with access programming)

Any help would be appreciated
 
What are your conditions for populating the combobox? Will it be based on the status of the current record? Will it depend on what a user may enter into a field? ljprodev@yahoo.com
ProDev
MS Access Applications
 
It will depend on the data the user has entered into the field, which is what I would like to add to the list entries in the combobox
 
I hope I am in understanding correctly. The user will be typing the entry into the combobox itself. If it is not there, then you wish it to be added to the list. If this is the case, you can use the On Not In List of the combo box. This event is used specifically for this reason. Place your curser on this events line and hit F1. Then click Event Procedures and it will tell you how to place the code.

Lemmeno,,, B-) ljprodev@yahoo.com
ProDev
MS Access Applications
 
That sounds good Lonnie

Thanks for your help

I'll give it a shot and keep you updated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top