Results 1 to 5 of 5
  1. #1
    sparlaman is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    41

    One lookup table many relationships?

    Is it bad design to have one generic lookup table related to more than one main table? see attached.

  2. #2
    SteveF is offline Generally AccessAble
    Windows XP Access 2010 32bit
    Join Date
    Nov 2010
    Location
    Fourth Corner
    Posts
    123
    It's not necessarily bad to have one lookup table -- I've done it many times myself. When I do, I usually don't establish a formal relationship as you've done; I let my lookup combos and joined queries handle the links explicitly instead.

    The potential danger here is if you turn on referential integrity, especially cascade deletes. If you change or delete an entry in the lookup table, your main-table data could start disappearing too!

    Steve

  3. #3
    sparlaman is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    41
    I see what you are saying. I never use update deletes. I'm a data horder. But if I use cascade updates will I run into errors?

  4. #4
    SteveF is offline Generally AccessAble
    Windows XP Access 2010 32bit
    Join Date
    Nov 2010
    Location
    Fourth Corner
    Posts
    123
    Cascade Updates should be okay. Cascade Deletes from the lookup table to any tables that use the lookup codes are the danger.

    Steve

  5. #5
    sparlaman is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    41
    cool beans. thanks for your help.

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

Similar Threads

  1. Table Relationships
    By ledbyrain in forum Access
    Replies: 1
    Last Post: 09-07-2010, 05:05 PM
  2. Plz help Table Relationships
    By heominhon127 in forum Database Design
    Replies: 6
    Last Post: 09-06-2010, 01:36 PM
  3. Table Relationships
    By goestejs in forum Database Design
    Replies: 3
    Last Post: 08-23-2010, 07:39 AM
  4. Table Relationships
    By seanp in forum Access
    Replies: 2
    Last Post: 04-15-2010, 07:12 AM
  5. Table Relationships
    By jp2access in forum Database Design
    Replies: 3
    Last Post: 06-19-2009, 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