Results 1 to 9 of 9
  1. #1
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37

    won't let me change a field's datatype on a table

    I have a table that is populated and I'm trying to make a field on it a "lookup" type. After closing the lookup wizard, the field remains "text". I'm thinking this is not allowed. How can I get around this?
    Thanks,

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Is your issue actually resolved, thread is marked 'solved'.

    Most advanced developers do not set lookups on tables.
    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
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    thanks for the follow-up; although the type continues to show as "text", the lookup values are available in the datasheet view; thus the closure
    what is the best practice for having a set of lookup values? in the form as opposed to the table? why is a table not considered a good place for this? please advise.
    thanks again.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725

  5. #5
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    Thanks; so what's the alternative to lookup fields? a lookup table?

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    I have never set lookup in tables and have never used the Lookup field type wizard. I set lookups with combo/list box controls on form. Data comes from tables or for very short standard list for RowSource, I build ValueList. For instance, for M or F choices, would set RowSourceType to ValueList and the RowSource would be: M;F

    http://access.mvps.org/access/lookupfields.htm

    Are you using multi-value field? Is that why you are setting the lookup? I don't use multi-value either.
    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.

  7. #7
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    Thanks; I would be looking at multi-value lists as well but for now I'm just looking for standard values such as Active, Inactive, etc. So, I'm going to stay away from lookups in tables and put them in forms instead using either a table as source or a value-list. I guess the rationale for not using lookups in tables is to not clutter them with choices and use them just to store values; this makes sense.
    Regards,

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    I believe if you want a multi-value field will have to set the lookup in table.
    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.

  9. #9
    Cedarguy is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    May 2012
    Posts
    37
    Oh; Okay; thanks

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

Similar Threads

  1. Replies: 8
    Last Post: 04-26-2012, 10:13 AM
  2. Change a field to Primary key in linked table
    By MrFormula in forum Programming
    Replies: 4
    Last Post: 11-25-2011, 01:42 PM
  3. issue changing datatype in table
    By Gareth Keenan in forum Access
    Replies: 3
    Last Post: 09-27-2011, 02:57 PM
  4. Change Password field in Table not working
    By bongazi in forum Programming
    Replies: 4
    Last Post: 05-18-2011, 04:33 PM
  5. Replies: 11
    Last Post: 12-04-2010, 10:20 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