Results 1 to 4 of 4
  1. #1
    hammerman is offline Advanced Beginner
    Windows 7 32bit Access 2013
    Join Date
    Jul 2014
    Posts
    32

    choosing multiple entries in combo box on a form

    I'm quite new to creating a database. On my navigation form, I have a dropdown list/combo box that contains up to 16 possible selections. The user should be able to select more than one item, but can't, when using the navigation form. In the man form that this 'writes to' the selections can be made, with checkboxes in front of each item in the list; but not in the navigations sub-form. the Navigation sub-form only shows the list in a column. I don't see any properties that explicitly allow more than one suggestion or restrict to only one, so am I using the correct control? If so, what am I not doing?

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    The List Box Control has a Multiselect property that you can adjust to equal "Yes".

  3. #3
    hammerman is offline Advanced Beginner
    Windows 7 32bit Access 2013
    Join Date
    Jul 2014
    Posts
    32
    ItsMe: Thank you. I see it; I currently have only a few records that the user would select more than one listbox.item, so I could have used a ccombobox and ignored the other item(s), but...!
    I don't know the frequency that future records could have more than one type, either. I researched and found that more than one selection causes a 'NULL' to be stored in the table this form feeds/populates. Is there a snippet of code that is available to store the text of the selected items in a cell in a table? The form (which has the listbox) categorizes the contents of a shipment when all the items are not of the same type. ps. I'm using Office 365 w/Access2013.

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I do not understand why any example would leave you with the impression a Multiselect List Box includes Nulls. You will want to test for Null. Test to make sure the User selected something before writing to the table.

    Here is a snippit to iterate multiselect.
    https://www.accessforums.net/forms/l...tml#post224893

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

Similar Threads

  1. Choosing A Secondary List In A Combo Box
    By HectorTheInspector in forum Forms
    Replies: 5
    Last Post: 01-27-2014, 11:29 PM
  2. Replies: 2
    Last Post: 09-24-2013, 11:38 AM
  3. Importing Multiple entries into a form
    By KayZee08 in forum Import/Export Data
    Replies: 3
    Last Post: 03-12-2013, 01:16 PM
  4. Replies: 4
    Last Post: 01-04-2013, 04:03 PM
  5. Multiple entries wanted in Form
    By taspangler in forum Access
    Replies: 3
    Last Post: 05-02-2011, 12:41 PM

Tags for this Thread

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