Hello there,
I'm quite familiar with MS Access but I am not sure how to approach a design problem I have. I'll break down what I have, scenarios I have tried:
The design wording is as follows:
A COUNTRY can have multiple REPORTS and SUBMISSIONS, both REPORTS and SUBMISSIONS can have multiple REFERENCES. (This is just a small example, I actually have 12 tables that link to the COUNTRY table and each can have it's own multiple references).
So my table design so far is:
COUNTRIES
pkID
REPORTS
pkReportID
fkCountryID
SUBMISSIONS
pkSubmissionID
fkCountryID
REFERENCES
pkReferenceID
I was able to setup the one-many relationship of the COUNTRIES and the REPORTS and SUBMISSIONS table but I can't figure out how to get the unique identifier from the REPORTS and SUBMISSIONS to share the REFERENCES table.
I tried setting up a many-to-many relationship with a new table but even then when you add more than one table to that relationship the REPORTS and SUBMISSIONS pkID's are in conflict since each of those tables will have a sequential ID of 1,2,3,4.. etc.
I thought maybe I could change the primary key seed format but again I would have to do that for 12 tables, is that a way to go?
Short of creating the same REFERENCES table for both the SUBMISSIONS and REPORTS table, is there some way I can only use one REFERENCES table and have a one-to-many relationship with multiple tables?
I hope this is not confusing but any help would be much appreciated.
Thanks!!!
J