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 Programming / July 2007

Tip: Looking for answers? Try searching our database.

Storing values of multiselect box into a table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kristinem - 22 Jul 2007 06:12 GMT
I'm trying to set up a multiselect box on one of my forms but I'm not
familiar with VB code to be able to store and save the values in the table.
I've tried searching these forums, but I haven't really found anything that
fits my needs (that I know of). Does anyone have any links to online
tutorials that could probably help? Or if you know of a thread here that
answers my question, could you post the link? Thanks!

Kristine
Allen Browne - 22 Jul 2007 08:14 GMT
Kristine, a multi-select list box is not the choice if you want to store
values in the table.

Instead, you need to create a related table (one-to-many relation) so you
can store multiple records matching the one in your main table. You can then
use a subform, and add as many rows as apply to the record in the main form.
You can do this without writing any code.

Even if you were quite at home writing code, I would still suggest that this
normalized approach is the way to go.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

> I'm trying to set up a multiselect box on one of my forms but I'm not
> familiar with VB code to be able to store and save the values in the
[quoted text clipped - 4 lines]
> tutorials that could probably help? Or if you know of a thread here that
> answers my question, could you post the link? Thanks!
 
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.