I am creating a database in MS Access 2010, I have 6 tables. My question do all 6 tables need to have either a direct relationship (primary key to primary key) or Primary Key to Foreign Key with each other?
ITNoobie 0 Newbie Poster
Recommended Answers
Jump to PostOk, so basically all 6 tables in my database should have a primary key to foreign key relationship to each other?
I would say that, NORMALLY you would have tables which are linked together in some way. It is RARE to not be able to link them together. But also, …
Jump to PostOkay, the first thing is that you should not have Table 2 - the Invoice Totals. That stores calculated data which is not a properly normalized structure. So, you would build that by pulling the Invoice Details and summing them.
From your post here's how I see the table …
All 6 Replies
urtrivedi 276 Nearly a Posting Virtuoso
ITNoobie 0 Newbie Poster
urtrivedi 276 Nearly a Posting Virtuoso
boblarson 15 Junior Poster in Training
ITNoobie 0 Newbie Poster
boblarson 15 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.