Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Posts
    16

    Unanswered: Relationships aren't showing

    I need to create a database from a provided ERD. However, when I implement one of the foreign key constraints to link two tables it doesn't show on the relationships diagram. I'm unsure why as the rest of the relationships are shown.
    As an example, I have one table called 'Seller' and another table called 'SaleProperty'. I need to reference the primary key of the 'Seller' table in the 'SaleProperty' table. The code I have used is as follows:

    CONSTRAINT SaleProperty_SellerCode_fk FOREIGN KEY(SellerCode) REFERENCES Seller(SellerCode)

    I'm just confused as to why this isn't appearing on the relationships diagram. Is it to do with the fact that that i'm implementing the tables wrong or something?

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Access likes you to do everything where it can see it; I imagine if you use the drag-n-drop method of creating relationships, all will be hunky dory.

    Well, it's worth a shot, huh?
    George
    Home | Blog

  3. #3
    Join Date
    Nov 2007
    Posts
    16
    Lovely it works!

    Thanks

  4. #4
    Join Date
    Nov 2007
    Posts
    16
    Just another quick question - is there a way of dragging new 'lines' that indicate a relationship between tables as on one of my tables, only one of the three relationships are appearing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •