I'm wondering how to set up the following many-to-many relationships.
The 3 tables involved are as follows:
MtblDocumentData:
DocumentID (autonum, primary)
DocType (text)
DocDate (date)
DocSource (text)
MtblCompanyNames:
CompanyNameID (autonum, primary)
CompanyName (text)
MtblCompanyData:
CoDataID (autonum, primary)
CoAddress1 (text)
CoAddress2 (text)
CoCity (text)
CoState (text)
CoZip
The relationships are as follows:
For every Document in MtblDocumentData, there may be zero or more CompanyNames, and for every CompanyName, there may be 1 or more Documents. For every Document, there may be zero or more CompanyData, and a record of CompanyData may be provided in 1 or more Documents. For every CompanyName, there may be zero or more CompanyData, and a record of CompanyData may be provided for 1 or more Companies. The main thing is that all the data is pulled from Documents.
I'm curious what the join tables should look like, and how a main/sub/sub-sub form may be able to be linked.
Any advice/assistance would be greatly appreciated.
The 3 tables involved are as follows:
MtblDocumentData:
DocumentID (autonum, primary)
DocType (text)
DocDate (date)
DocSource (text)
MtblCompanyNames:
CompanyNameID (autonum, primary)
CompanyName (text)
MtblCompanyData:
CoDataID (autonum, primary)
CoAddress1 (text)
CoAddress2 (text)
CoCity (text)
CoState (text)
CoZip
The relationships are as follows:
For every Document in MtblDocumentData, there may be zero or more CompanyNames, and for every CompanyName, there may be 1 or more Documents. For every Document, there may be zero or more CompanyData, and a record of CompanyData may be provided in 1 or more Documents. For every CompanyName, there may be zero or more CompanyData, and a record of CompanyData may be provided for 1 or more Companies. The main thing is that all the data is pulled from Documents.
I'm curious what the join tables should look like, and how a main/sub/sub-sub form may be able to be linked.
Any advice/assistance would be greatly appreciated.