Hi all,
(first posting from access newb)
I started with an excel sheet containing 3 main data groups:
1. client info
2. insurer info
3. employer info.
There is address, locality, postcode, state for each
I imported the whole lot into access and created a separate table for each group, but I was duplicating a lot of the address detail - clients in the same town etc.
ie.
client/town/postcode
bill/melbourne/3001
tom/melbourne/3001
and
employer/town/postcode
etc. - Every record in 3 tables had a town entry!
I separated the postcode, state and locality fields into separate tables (one for each data group), but I still now have 3 mostly duplicated tables.
Client/fk_LocalityID
bill/1
tom/1
pk_LocalityID/town/postcode
1/melbourne/3001
2/sydney/2000
-this format is duplicated for the three main groups. so I have 3 "locality" tables, with some duplicate and some unique entries.
how can I consolidate the data into a single table and preserve the unique keyed relationships to the 3 tables?
I tried creating a new Locality table with all the keys (and LocalityID as the new primary key:
pk_LocalityID/clientlocalityID/employerlocalityID/town/postcode
1/1/null/melbourne/3001
2/4/7/sydney/2000
what used to be my primary keys are now just fields (eg. clientlocalityID). I cant see how to convert my 3 tables to all look at the new pk_localityID so as to draw from one data source.
Any pointers would be appreciated, on either the problem, or even the posting!
Hope this was clear enough.
Thanks for any help.
Matt.
(first posting from access newb)
I started with an excel sheet containing 3 main data groups:
1. client info
2. insurer info
3. employer info.
There is address, locality, postcode, state for each
I imported the whole lot into access and created a separate table for each group, but I was duplicating a lot of the address detail - clients in the same town etc.
ie.
client/town/postcode
bill/melbourne/3001
tom/melbourne/3001
and
employer/town/postcode
etc. - Every record in 3 tables had a town entry!
I separated the postcode, state and locality fields into separate tables (one for each data group), but I still now have 3 mostly duplicated tables.
Client/fk_LocalityID
bill/1
tom/1
pk_LocalityID/town/postcode
1/melbourne/3001
2/sydney/2000
-this format is duplicated for the three main groups. so I have 3 "locality" tables, with some duplicate and some unique entries.
how can I consolidate the data into a single table and preserve the unique keyed relationships to the 3 tables?
I tried creating a new Locality table with all the keys (and LocalityID as the new primary key:
pk_LocalityID/clientlocalityID/employerlocalityID/town/postcode
1/1/null/melbourne/3001
2/4/7/sydney/2000
what used to be my primary keys are now just fields (eg. clientlocalityID). I cant see how to convert my 3 tables to all look at the new pk_localityID so as to draw from one data source.
Any pointers would be appreciated, on either the problem, or even the posting!
Hope this was clear enough.
Thanks for any help.
Matt.