Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2005

Tip: Looking for answers? Try searching our database.

URGENT!!!Is it possible to dynamically add new items to a list box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jojo - 26 May 2005 19:07 GMT
I know that this can be done by using a combo box but I need to use a list
box so the users can select multiple items.

Any help would be appreciated.

Thank you
John Vinson - 26 May 2005 21:04 GMT
>I know that this can be done by using a combo box but I need to use a list
>box so the users can select multiple items.
>
>Any help would be appreciated.
>
>Thank you

You can do it in exactly the same way that you change the rowsource
for a combo box.

It's simplest if you use a Table as the rowsource; just add a record
to the table (or delete one) and requery the listbox.

I take it you are aware that a multiselect listbox needs VBA code to
do anything with the selections? The Listbox doesn't have a "value"
that can be stored in a table or used as a criterion; you need code to
extract the selected values.

                 John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.