Results 1 to 6 of 6
  1. #1
    kmw is offline Novice
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    27

    multi select list box not being recognized by append

    I have created a list box that uses a multi select but my append query is not adding the items to the table.



    What am I missing?

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    You are missing some code or sql to help us understand your issue.
    Show us the Append query.
    What does the list box have to do with the query?

    We only can see what you post.We can't guess what you're doing and give a meaningful answer.

  3. #3
    kmw is offline Novice
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    27
    I'm not using any code and I don't think the issue is with my append query because I was using it for a while when the list box was not multi select. The append query is saving several fields from a form and adding them into a table. When I add new records everything is added but the multi select list box items. I initially had it as a combo box but I wanted to change it to a multi select so I used a list box. Every thing worked when I used a combo box too.

    My append query is

    INSERT INTO TABLE(FIELD)
    SELECT DISTINCT [Forms]![FORMNAME]!
    [List0] AS Expr1;

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Retrieving selections from a Listbox with the Multi-Select Property set to 'Simple' or 'Extended' requires different code than one in which it is set to 'None!' A Listbox with this Property set to 'None' has a Value Property, such as your Combobox did, but one set to 'Simple' or 'Extended,' on the other hand, does not! For those you have to loop through the selections to retrieve them.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  5. #5
    kmw is offline Novice
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    27
    thank you!

    So it is set to 'Simple'

    How do I look through the selections?

  6. #6
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722

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

Similar Threads

  1. multi select list box
    By crowegreg in forum Forms
    Replies: 1
    Last Post: 07-28-2012, 11:52 PM
  2. Replies: 5
    Last Post: 07-26-2012, 12:59 PM
  3. Multi select list box
    By foxtet in forum Forms
    Replies: 1
    Last Post: 05-30-2011, 02:13 PM
  4. Replies: 1
    Last Post: 10-22-2010, 10:11 AM
  5. Multi-select List Boxes
    By Rawb in forum Programming
    Replies: 6
    Last Post: 09-21-2010, 09:02 AM

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