Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Lesley is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    16


    Quote Originally Posted by http://office.microsoft.com/en-us/access-help/guide-to-multivalued-fields-HA001233722.aspx#BM1

    Even though what you see and work with appears to be a single field, the values are actually stored independently and managed in hidden, system tables. The Access database engine handles this for you, automatically separating the data and bringing it back together again to surface the values in one field.
    Is there a way to edit this hidden table to prevent alphabeticalisation within the multi-value field?

    This is the row source control in the multi-value field in the DMP Table:

    SELECT [DMP Parasites found].[Parasite found], [DMP Parasites found].[ID] FROM [DMP Parasites found] ORDER BY [ID];

    That would appear to sort the result by the ID (number) from the Parasites found table in the parasites found field of the DMP Table, but it doesn't.

  2. #17
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    That SQL in the RowSource only sorts the combobox list, not the data saved in field.

    Option offered in earlier post: Or save the number

    1. Delete the link between tables in Relationship builder

    2. Change field in DMP Table to a number type

    3. Set ID field in DMP Parasites found as primary key then recreate link in Relationships

    4. Change the Lookup properties
    RowSource: SELECT ID, [Parasite found] FROM [DMP Parasites found] ORDER BY [ID];
    ColumnWidths: 0";2.0"
    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.

  3. #18
    Lesley is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    16
    No there is no patients table. We don't have patients we have specimens the DMP Table is the specimen table and contains most of the information regarding the specimens. There is not always a patient name particularly if it's an animal specimen rather than human.

    Yes, there could be more than one specimen from a single patient and over a large period of time. That is for the submitting hospital to deal with. Each specimen is a different job to us. and treated as a different database entry. They do not need to relate back to the patient to us, but to a lab number.

    I'll have a try of that tomorrow, I've been at this for hours and am flaked.

    Many thanks for your patient help, a fresh morning may help me take a fresh approach.

  4. #19
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Then I wonder why you bother with name fields.
    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. #20
    Lesley is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2013
    Posts
    16
    To comply with UK accreditation each specimen must have 3 identifiers - usually First name, Last name and Date of Birth. We are always sent those together with the hospital's unique number and submitting lab's specimen number. These are used when reporting back a specimen result to the submitting hospital. For work within our lab and for specimen tracking our own unique DMP number is used.

    It sounds long winded but no patient want to get someone else's result. Someone else's goods can be exchanged by a shop but medical issues are rather more critical.

Page 2 of 2 FirstFirst 12
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. Advice on Multi Value Field
    By ToddNYC in forum Access
    Replies: 4
    Last Post: 10-04-2012, 05:00 PM
  3. Replies: 6
    Last Post: 05-05-2012, 08:43 AM
  4. Replies: 1
    Last Post: 02-29-2012, 10:13 PM
  5. Use a lookup field to influence values in another field
    By nathanrt in forum Database Design
    Replies: 3
    Last Post: 01-13-2011, 03:40 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