LarryE
Well-known member
- Local time
- Today, 00:45
- Joined
- Aug 18, 2021
- Messages
- 1,100
That's not a relational database design because you are not using Primary keys and Foreign keys to relate your fields. A primary key is assigned at the time records are created and identifies that unique record. They cannot be duplicated in that table. That Primary key is then used in other tables as a Foreign key which CAN be duplicated in other related table fields so that fields can be related. In your case, your own EDP_ID can be used to reference EACH competitors EDP number. THAT is what you refer to as a "cross-reference"
In my design, the Primary key EDP_ID is used as a Foreign key in the TblCompetetor, so YOUR EDP number can be related to other competitors EDP numbers, but the Primary keys and Foreign keys are REFERENCES ONLY to establish the realationship. Your design is attempting to use ACCESS as you would a spreadsheet. That will not work as I and others have told you. In ACCESS, you enter record data only once and then use Foreign keys to relate that data to other tables. So you enter the EDP data in your own companies TblEDP for each EDP you have. Then you enter a new record in the TblCompetetor for EACH competitor company EDP referencing YOUR EDP_ID. That is what others have called "normalization". Using ONE ID as a reference in other tables. That also means, in your case, you don't need any kind of separate pricing or cross-referencing table. That information is already in each table.
In my design, the Primary key EDP_ID is used as a Foreign key in the TblCompetetor, so YOUR EDP number can be related to other competitors EDP numbers, but the Primary keys and Foreign keys are REFERENCES ONLY to establish the realationship. Your design is attempting to use ACCESS as you would a spreadsheet. That will not work as I and others have told you. In ACCESS, you enter record data only once and then use Foreign keys to relate that data to other tables. So you enter the EDP data in your own companies TblEDP for each EDP you have. Then you enter a new record in the TblCompetetor for EACH competitor company EDP referencing YOUR EDP_ID. That is what others have called "normalization". Using ONE ID as a reference in other tables. That also means, in your case, you don't need any kind of separate pricing or cross-referencing table. That information is already in each table.
Last edited: