Results 1 to 5 of 5
  1. #1
    ToddNYC is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2012
    Posts
    11

    Advice on Multi Value Field

    I'd like to add a multi-value combobox to my database. I understand I want to avoid table-lookups, so I'd like to add it to my form, but can't figure out how. I've been unable to locate a post in this forum or an article/tutorial on line, and there is nothing in my book. I must be searching using the wrong terminology. Can anyone direct me to an article or post that might help me figure out the best way to execute this?

    Thank you!



    Todd

  2. #2
    ketbdnetbp is offline Competent Performer
    Windows 7 32bit Access 2003
    Join Date
    Mar 2011
    Location
    Midwest
    Posts
    254
    ToddNYC -

    Don't know if this will help but, try a search on:

    Multi Select Combo Boxes

    or

    Multi Value Fields

    All the best,

    Jim

  3. #3
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    I personally wouldn't use that type at all. Partly because you can't upsize it, but also the reasons given here:

    http://allenbrowne.com/Access2007.html#Mixed
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    ToddNYC is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2012
    Posts
    11
    Thanks Paul. Can you tell me the best way to approach this task: I have a table of several thousand events. Each event has one (or more) of maybe 25 categories it falls into. (For example: Music, Dance, etc.) I'd like to be able to select the applicable event types and ultimately I need to feed it out as one field to another program in the form of "'Event Name', 'Music;Dance'".

    Similarly, each event also has other descriptors, such as "Time of Day" where I would want to select one or more of the three options "morning", "afternoon" or "evening".

    Can you advise me how to approach to capture the data in a way to export it as described above while still following best practices?

  5. #5
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Well, I wasn't saying "don't do it" so much as "be aware of the limitations". The normalized structure would be a many-to-many junction table. You can represent it with a list box or subform. Getting the data out as you describe is fairly simple with a function like:

    Return a concatenated list of sub-record values

    http://allenbrowne.com/func-concat.html
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. How to update Multi Value Field via VBA
    By gopherking in forum Programming
    Replies: 6
    Last Post: 07-14-2013, 03:05 AM
  2. Multi-value field count
    By whitneynf08 in forum Queries
    Replies: 3
    Last Post: 08-07-2012, 11:02 AM
  3. Multi-value Text Field Search
    By billfold in forum Queries
    Replies: 3
    Last Post: 04-30-2012, 03:43 PM
  4. Replies: 1
    Last Post: 12-16-2010, 10:32 AM
  5. Multi value field - Combobox help
    By stougch in forum Forms
    Replies: 0
    Last Post: 10-19-2009, 10:47 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