Results 1 to 4 of 4
  1. #1
    Vanita is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Feb 2019
    Posts
    23

    Lookup wizard changes data type from text to Number

    Hi,



    Can anybody explain why does Lookup wizard changes the data type of field from Short text to Number.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Advise not to set lookups in table. http://access.mvps.org/Access/lookupfields.htm
    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. #3
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    You're setting up a multi-value field. The lookup wizard is using the table's primary key behind the scene to establish the many-to-many junction table and relationships.
    If you want to keep the field as text, you can force the wizard to do that by eliminating the primary key in the lookup table before establishing the lookup.
    But, like June7 says, it's best to not use lookups at the table level.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Also advise not to use 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.

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

Similar Threads

  1. Replies: 1
    Last Post: 07-23-2018, 02:12 PM
  2. Replies: 10
    Last Post: 11-02-2015, 11:11 PM
  3. Replies: 4
    Last Post: 10-01-2014, 03:59 PM
  4. Replies: 2
    Last Post: 01-28-2014, 10:13 PM
  5. Replies: 1
    Last Post: 04-24-2013, 11:50 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