I have a database (concerning bibliographic data) with the following tables:
Main Table
Title of Document
Author1ID
Organization1ID
Author2ID
Organization2ID
Author3ID
Organization3ID
Author4ID
Organization4ID
Author Table
Author1ID
Author1
Organization Table
Organization1ID
Organization1
Author Organization Table
Author1IDOrganization1ID
Author1
Organization1
Repeat above tables for Author & Org 1-4. The reason I split Author and Org into 4 separate tables is because each org can have many authors, and each author can have more than one org. The author to organization relationship is many-to-many - that's why I created the AuthorOrg table above.
Now I'm trying to figure out how to design a form so that the data gets stored in the right table. I also need to have lookup tables for authors and organizations.
I also need to query the database to get:
1) all authors and associated organizations
2) all organization and associated authors
Any advice - I'm going round and round with this. I'd really appreciate any insight.
Thanks.
Main Table
Title of Document
Author1ID
Organization1ID
Author2ID
Organization2ID
Author3ID
Organization3ID
Author4ID
Organization4ID
Author Table
Author1ID
Author1
Organization Table
Organization1ID
Organization1
Author Organization Table
Author1IDOrganization1ID
Author1
Organization1
Repeat above tables for Author & Org 1-4. The reason I split Author and Org into 4 separate tables is because each org can have many authors, and each author can have more than one org. The author to organization relationship is many-to-many - that's why I created the AuthorOrg table above.
Now I'm trying to figure out how to design a form so that the data gets stored in the right table. I also need to have lookup tables for authors and organizations.
I also need to query the database to get:
1) all authors and associated organizations
2) all organization and associated authors
Any advice - I'm going round and round with this. I'd really appreciate any insight.
Thanks.