Results 1 to 6 of 6
  1. #1
    whojstall11 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    57

    Multivalued Combobox Arrangement

    I have a multivalued combobox that I want to rearrange to so it look like an table example:

    This what my combobox look like in a report:



    Click image for larger version. 

Name:	Groups.jpg 
Views:	14 
Size:	85.7 KB 
ID:	16663

    I want my combobox to look like this:

    Click image for larger version. 

Name:	Group2.png 
Views:	14 
Size:	18.8 KB 
ID:	16664
    Any suggestions?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Don't use multi value fields, they are a horrible, horrible, horrible addition to access and cause no end of grief. Apart from that I don't see any difference between the two, they are both in the same order.

    I would really strongly suggest you try a more normalized structure to store these values.

  3. #3
    whojstall11 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Sep 2011
    Posts
    57
    I need it to look like this:

    Click image for larger version. 

Name:	NEWGROUPS.png 
Views:	11 
Size:	18.0 KB 
ID:	16670
    But I couldnt figure out how to have multiple entries for a combobox without the Multivalued selection active. How would I go about normalizing that?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    I agree with rpeare, multi-value fields may seem like a convenience but they can be tricky to work with. However, I doubt what you want will be possible with a conventional structure either. A combobox is meant to list items in the dropdown and the multiple columns are to display fields of each record in the item list, not multiple records side-by-side. And the data stored in field cannot be configured for tabular display.

    The multi-value field can be expanded in a query so each element is listed like a separate record, but not multi-columnar. Review: http://office.microsoft.com/en-us/ac...010149297.aspx
    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.

  5. #5
    Geo21 is offline Novice
    Windows 8 Access 2013
    Join Date
    May 2014
    Posts
    20

    Multivalued Combobox Arrangement

    Rearrangement will be done For presentation (report) purposes? If so, you will need to create a table with field1 and field2. Then, divide the number of values with 2, and create a loop that will get the first value to record1, field1 then record2, field1 and so on. When reaching the result from the division, start same loop process with field2.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Report has page setup feature to display records in multi-column arrangement. Temp table and code not necessary.
    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.

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

Similar Threads

  1. Subreport arrangement issues
    By jasdem in forum Reports
    Replies: 2
    Last Post: 10-11-2013, 12:54 PM
  2. Use or not Use Multivalued Lookups
    By bradjake8 in forum Access
    Replies: 1
    Last Post: 08-05-2013, 05:05 PM
  3. Microsoft Access query name arrangement from the table
    By successfulfail in forum Access
    Replies: 3
    Last Post: 10-31-2012, 12:08 PM
  4. MultiValued Fields
    By Lorlai in forum Access
    Replies: 0
    Last Post: 06-10-2011, 10:25 AM
  5. Multivalued fields
    By ydt in forum Forms
    Replies: 1
    Last Post: 08-25-2010, 01:52 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