Results 1 to 4 of 4
  1. #1
    templeowls is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    305

    Created a multi-value field on accident; can't identify it

    I am trying to append a table into another, but I cannot because I have a multi-valued field. I must have created this by mistake as I do not have a need for a multi-valued field. Is there a way to identify which field is multivalued and change it back to single-value?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    look at the table design, the field type will be: ATTACHMENT

  3. #3
    ssanfu is offline Master of Nothing
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Click image for larger version. 

Name:	MVF1.png 
Views:	12 
Size:	29.0 KB 
ID:	40563


    Once you find the fields that are combo boxes, change to table design view.



    Then click on the field name and look at the tabs at the bottom.
    Click image for larger version. 

Name:	MVF2.png 
Views:	12 
Size:	32.5 KB 
ID:	40564
    1) Click on the "Look up" tab.
    2) You should see "Combo box" or "List box" in the Display Control property line.
    3) Change the "Allow Multiple Values" property from YES to NO.

    4) I would also recommend changing the Display Control property (#2 above) to "TEXT BOX". You should NEVER use a "Look up field" or "Multi-Value Field" in tables!


    ------------------------------------------------------------------------------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------------------------------------------------------------

    EDIT: On my computer I just ran across some code by Daniel Pineault to help identify all the table fields that are set as a Lookup. Rather than post the code or text file, I located the site (changed from the text file)

    https://www.devhut.net/2017/05/26/ms...lookup-fields/


    Might as well throw in:
    MS Access – VBA – Reset the Table Lookup Display Control Property to Text Box

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,127
    Attachment fields are just one type of MVF. All MVFs are a bad idea
    For an extended article explaining about multivalued fields in detail, see http://www.mendipdatasystems.co.uk/m...lds/4594468763
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. VBA to Identify a Calculated Field
    By RMittelman in forum Programming
    Replies: 5
    Last Post: 07-03-2019, 05:57 AM
  2. How Do I Identify A Field?
    By lccrews in forum Modules
    Replies: 3
    Last Post: 01-04-2018, 05:18 PM
  3. macro deleted by accident
    By Abacus1234 in forum Macros
    Replies: 1
    Last Post: 04-28-2015, 04:32 PM
  4. Replies: 3
    Last Post: 01-31-2014, 09:40 AM
  5. Replies: 1
    Last Post: 02-03-2011, 11:19 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