Results 1 to 3 of 3
  1. #1
    Keeper is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2012
    Posts
    11

    Proper Use of Lookup Tables

    I have a table which contains information about personnel. There are several fields which I want to have consistent values inputted. For example, somebody might populate the "State" field with: California, CA, Ca, or C.A. To avoid this, I created a seperate lookup table with a list of all states, fully spelled out, and the digraph abreviation associated with each state. The digraph is the primary key for this new table. In all, I have 12 such lookup tables.

    Having all these extra tables, while nice for clarity sake, seems excessive. In most cases, the lookup tables really only require one column, though I've always used a minimum of two (one is an acronym set as the primary key, and one is a fully spelled out description). I'm finding the primary key is often not useful to somebody reading the data; the full description is much better.



    Am I using all these tables correctly? Could I have one catch all lookup table which combines all of the standardized fields which I want to use, and have no primary key for said table?

  2. #2
    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,848
    Sounds like your approach is reasonable and recommended. When you have the 2 column approach, id and text fields, the id is a unique number, primary key and text is the descriptive name.
    It is not recommended to have one all encompassing table with several, embedded look up tables, although some people do use such a scheme.

    There is an excellent article concerning relational database and design at
    http://forums.aspfree.com/attachment...achmentid=4712

  3. #3
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    Here are two items that you may want to read.
    http://www.deeptraining.com/litwin/d...aseDesign.aspx

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

    You should use lookup tables in forms and not in tables as noted in the article above.
    Last edited by alansidman; 05-01-2012 at 02:26 PM. Reason: Orange has fast fingers

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

Similar Threads

  1. Replies: 5
    Last Post: 08-12-2013, 12:53 AM
  2. Use of Lookup Tables
    By Saint in forum Access
    Replies: 1
    Last Post: 03-05-2012, 11:49 PM
  3. lookup tables
    By nkuebelbeck in forum Forms
    Replies: 3
    Last Post: 03-15-2010, 02:10 PM
  4. Lookup Tables
    By corinthianw in forum Access
    Replies: 1
    Last Post: 02-17-2010, 01:31 PM
  5. Lookup Tables
    By JoeBio in forum Database Design
    Replies: 1
    Last Post: 09-01-2006, 07:34 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