Results 1 to 3 of 3
  1. #1
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130

    Allowing Multiple Selections

    I have a database that is currently set up and am trying to enable a feature, which i am pretty sure is possible.

    Here is the structure:

    tbl1Trainers (information needed for Trainers)
    tbl1Campaigns (information for different campaigns that trainers could be assigned to)
    tbl2Campaign_Trainers (currently set up to show relationship between campaigns and trainers)


    frmMain (displays Trainer information on main form and has sub form that shows only the campaigns that are related to the trainer)
    frmAssignCampaign (currently set up to where you have to select one trainer and one campaign)

    This is where I am asking for help...I would like to be able to select multiple campaigns on the frmAssignCampaign instead of having to select one then save and then select a different one and click save and so on. I was thinking that a list box would suffice, but when clicking save it just displays the trainer's ID number in the tbl2Campaign_Trainers table and has a blank CampaignID. What is the best way to get this functional?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Options:

    1. combobox and just move to new record and select item

    2. VBA code that loops through the listbox and saves records

    3. multi-value field - I NEVER use them
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Voodeux2014 is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Nov 2014
    Location
    Slidell, LA
    Posts
    130
    I think that the listbox sounds like it would be easiest for the end user. I will try to set that up. Thanks!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Multiple Selections in a Combo Box
    By BeStout in forum Access
    Replies: 6
    Last Post: 07-09-2014, 12:44 PM
  2. Query with Where (Multiple Selections)
    By braveali in forum Access
    Replies: 3
    Last Post: 03-05-2014, 05:17 AM
  3. Replies: 4
    Last Post: 07-10-2013, 08:00 AM
  4. DB not allowing multiple users
    By ajspruit911 in forum Access
    Replies: 1
    Last Post: 04-06-2011, 09:28 AM
  5. Delete multiple selections
    By Evgeny in forum Programming
    Replies: 7
    Last Post: 07-20-2010, 01:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums