Results 1 to 5 of 5
  1. #1
    willmafingerdo is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2016
    Posts
    108

    changing a lookup field from value lists to lookup fields

    Hello,


    I am trying to find out how to switch from a value list lookup that I manually entered on my table to a lookup field so I can link the values to a specific table. I know how to change it, but my issue is that when I change it from the value list to the table lookup it erases all my existing data in the table.

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    be aware of what is stored in the table; probably it is text today - and then if you change it to a table look up and that look up table has an integer primary key field - then it is going to want to bind to that key field integer and change your field type from text to number.

    that is what I suspect is happening. In your case you may need to eliminate the number primary key field assuming your text field holds unique values....

  3. #3
    willmafingerdo is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2016
    Posts
    108
    Thanks, that seems to be it. Just got a question for you, im still new... how did you know that was the issue?

  4. #4
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    experience essentially; when you stated that the data disappeared - - that doesn't happen in a database unless one changes the field type of a table field. Plus I know that if the looked up table has a key field and you point to it from the looking up table - then the wizard will default that key as the bound field as a feature to speed development...... thus if that key is a number and your prior field was text then you are changing your field type without realizing it.

  5. #5
    willmafingerdo is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2016
    Posts
    108
    that makes sense, thanks NTC

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

Similar Threads

  1. Lookup values not appearing in Lookup field?
    By dominover in forum Access
    Replies: 4
    Last Post: 03-05-2016, 05:01 PM
  2. Replies: 7
    Last Post: 03-02-2016, 09:17 PM
  3. Replies: 30
    Last Post: 09-23-2015, 07:24 AM
  4. Replies: 1
    Last Post: 02-23-2015, 01:08 AM
  5. Replies: 97
    Last Post: 05-24-2012, 02:10 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