So, I have a business mailing list all in one table - full address, primary contact, phone no, email, etc. Auto number as a primary key (Organisation ID). It has a combo box for each record to distingish the industry sector i.e. University & Colleges, Council, Charity, etc.
Because we deal with various people within each company, I have a 2nd table Called Secondary Contacts. Auto number as primary key (Contact ID). Organisation ID. Then name, position, phone no., email, etc.
I have a one-to-many relationship between Organisation ID & Contact ID. So in Access 2010 when adding a new address to the 1st table, I can just click on the "+" and add secondary contacts (effectively straight into the 2nd table) which link to the address in the 1st.
So - its now getting bigger - so I've spilt the 1st table into seperate tables for each industry sector with the intention of forming one-to-many relationship between each table and secondary contacts. (Then getting rid of the original 1st table).
But as I've already got so far down the line - I've had to keep Organisation ID 'as is' for each seperate table. So when I form the relationship between Organisation ID (in the new table) and Contact ID (in existing Secondary Contact table) it is all as it was originally.
What I am concious of is... having deleted and added records many times in the 1st table I created - the primary key (Organisation ID) became non-sequential & now I've split the 1st table - say into 8 different tables. I have a primary key in each of the seperate tables within each starting (& flowing) in random numbers. One table may have records with primary keys which go 5,25,329. Then another 1,8,47,254.
I had considered splitting the 1st table without Organisation ID. B
But since I've gone so far down the line and have a decent sized Secondary Contacts table (with no means other than xref Organisation ID in, to identifiy which primary contact/address in relates). I would then have to manually re-input all of secondary contacts into a new table (as I had done originally).
I hope this makes sense!!... So my question is:-
1) Is there a better way to do this, in terms of design? (I want to start as a mean to go on, so I don't have this problem in future)
2) If I just leave it with the random primary keys, can you foresee any issues?