Results 1 to 6 of 6
  1. #1
    raychow22 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    145

    Getting Rid of Multi-Value Fields

    Hi Forum,



    I have been getting rid of my multi-value field data by separating them in additional combo list "Fields". I was wondering if there is a code I can put in where a combo list drops into my Form Field and then separating it with a ";" causes a new combo list drop (within the same Form Field). Is that something that can happen?

    The point is that I want a combo list drop to make it easy to type in additional combo list items without having to write the whole thing out.

    Thanks,

  2. #2
    raychow22 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    145
    This is an example, Location 1: "S1;WA2;Zone A (0.00-0.09)" is row sourced from another table. If i put a ";" after that am I able to regenerate the combo list again to easy pick out another item on the list?
    Attached Thumbnails Attached Thumbnails Example.png  

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    not in a combo control. you can only select one value.

    It's not clear to me what you are trying to achieve and looks like you are working with denormalised data- usual way would be to use a subform

  4. #4
    raychow22 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    May 2017
    Posts
    145
    Quote Originally Posted by Ajax View Post
    not in a combo control. you can only select one value.

    It's not clear to me what you are trying to achieve and looks like you are working with denormalised data- usual way would be to use a subform
    Ajax,

    What i'm trying to achieve is that there can be multiple locations, but I want to capture them into one field vs. many fields. I'm really trying to avoid using multi-value fields. Do you think using many fields is better?

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    If these are multiple locations, should be multiple records.

    A multi-value field is really multiple records. Access hides the table.

    Comma or semi-colon separated values is not an improvement over multi-value field.
    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.

  6. #6
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    Multivalue fields do not store the data in one field - it is just presented that way.

    To achieve the same effect for presentation from a table, google 'concatrelated' which is a function with returns multiple values in a single string.

    However it would appear your issue is not the storing or presentation of the data, but the capture.

    It can probably be done by visual trickery - perhaps have a combo 'selection' control overlaid on top of a 'presentation' text box but would be a complex way of doing what you want.

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

Similar Threads

  1. how to sum multi fields with one criteria
    By alhareri in forum Access
    Replies: 3
    Last Post: 04-17-2017, 12:22 AM
  2. DCount multi value fields
    By Xterra14s in forum Access
    Replies: 6
    Last Post: 08-10-2016, 09:06 AM
  3. Multi Value Fields
    By lyncha in forum Access
    Replies: 5
    Last Post: 03-28-2013, 03:33 PM
  4. Multi-value fields and sub-datasheet.
    By specialk in forum Database Design
    Replies: 1
    Last Post: 12-05-2012, 03:18 PM
  5. Import xls with multi-value fields
    By Fred B. in forum Import/Export Data
    Replies: 2
    Last Post: 06-15-2011, 10:46 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