Results 1 to 2 of 2
  1. #1
    Tacop84 is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    1

    Need help with database design

    I am creating a Contacts database for a customer using the built-in Contacts template within Office 2007. I can do just about everything with the template except for one request.



    Included in the template is a Company field. I created another field called Relationships. The purpose of this field is to populate all of the companies related to the company listed in the company field for each unique record.

    For example if I have Company ABC and they do business with Company X, Company Y and Company Z I would like the relationship field to be automatically populated with Companies X Y and Z as a drop down menu. If Company 123 does business with only company X then I want the relationship field to only be populated in a drop down menu with Company X.

    In programming terms I want it to function like an if then statement. If Company field = Company ABC then populate the Relationship field with Company X Y and Z.

    Is this possible? Would I need a unique table for each company?

  2. #2
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481
    You don't need another field called Relationships: you need a Table called Relationships which is linked to the first table. When you recall Company XYZ, the relationships can be display in a subform or subreport.

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

Similar Threads

  1. Database Design for Specification Database
    By khwaja in forum Database Design
    Replies: 2
    Last Post: 11-24-2011, 03:58 AM
  2. DataBase Design.
    By cap.zadi in forum Database Design
    Replies: 3
    Last Post: 09-24-2011, 02:54 PM
  3. Database design
    By BeetleBailey in forum Database Design
    Replies: 6
    Last Post: 09-20-2011, 01:35 PM
  4. Database Design.
    By cap.zadi in forum Database Design
    Replies: 4
    Last Post: 09-14-2011, 07:02 AM
  5. Help with Database Design
    By neo651 in forum Access
    Replies: 3
    Last Post: 09-11-2011, 06:33 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