Results 1 to 2 of 2
  1. #1
    jlmnjem is offline Novice
    Windows XP Access 2002
    Join Date
    Jul 2006
    Posts
    9

    Linking tables


    I manage 20 facilities for a non-profit agency. I want a database that tracks a variety of information for the facilities, so I want different and various tables for each kind of data (supervisors of each facility, utility providers of each facility, fire equipment located at each facility, etc.) I have a table that contains the cost center code (a unique number field), which is my primary index, and the facility description (a unique alpha field.) I want all of the other tables to contain these two fields, and if a change is made to a record in either of these fields in the main table, I would like that change to be reflected in the other tables. I have tried linking them in the relationships window, but that doesn't yield the desired effect. How do I do this?

  2. #2
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    Quote Originally Posted by jlmnjem View Post
    ... I have a table that contains the cost center code (a unique number field), which is my primary index, and the facility description (a unique alpha field.) I want all of the other tables to contain these two fields, and if a change is made to a record in either of these fields in the main table, I would like that change to be reflected in the other tables.
    This is not really the correct way to handle this.

    You really should use a n auto number as the primary key file in all tables and use this primary key to create the relationships.

    The cost center code is an indexed field that can be set to no duplicates. It will appear to the end user as the primary key but in reality it isn't.

    When you need the cost center code it is looked up using the relationships.

    Same for the facility description.

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

Similar Threads

  1. Linking tables / Queries
    By mulefeathers in forum Queries
    Replies: 7
    Last Post: 04-21-2010, 02:10 PM
  2. Linking tables on a form
    By glinch in forum Queries
    Replies: 2
    Last Post: 03-26-2010, 01:08 PM
  3. Linking Tables
    By Richard Hale in forum Access
    Replies: 0
    Last Post: 01-25-2010, 02:09 PM
  4. Linking two tables
    By nitsua0491 in forum Forms
    Replies: 2
    Last Post: 10-02-2009, 07:48 AM
  5. Linking Tables?
    By briancb2004 in forum Access
    Replies: 0
    Last Post: 09-29-2008, 01:14 PM

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