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

combo controls in vba

Status
Not open for further replies.

andyhutch119

Programmer
Nov 5, 2003
8
GB
Is there anyway to initialise a combo box in Access vba. I need to have a clear list before populating it from a recordset. I've tried to loop through using the removeitem but this is causing problems as the indexs don't always match and causes errors.
 
And what about something like this ?
Me![combo name].RowSource = ""

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
You could use combobox = ""
You should also be able to simply populate it by setting the Control Source / Row source at run time
Requery the combo box after populating it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top