Hello. I am using Access to manage many details about my customers--too many to fit into one table. I've divided the data into 8 tables. I think I understand from the previous comments, but I want to confirm:
- I've used the customer file number as the primary key in all 8 tables, changing the name for each table, but the number is identical (customerID, financialID, marketing ID...)
- It sounds like I should use an auto ID as the primary key for tables 2-7, and the customerID should be connected between all 8 tables as a one-to-one relationship--is that right?
- My goal is to add a customer record (in the Customer table) that also adds a corresponding record in each of the other 7 tables (without having to manually add the record to each table)
- A secondary concern is that I'd like to move the customer records to another database when they are complete. I've set up 8 append queries to do this for each record. However, I'd like to:
- use one append query to copy all 8 records from database A to database B at one time
- delete the record from all 8 tables in database A at one time
More details:
I am managing customers relocating from one work location to a new one. I track allowances being paid, real estate marketing for home sales, real estate disclosures, inspections, appraisals, home purchases in the destination. Ideally, I could add all fields to a single table, but there are too many. So I've divided them into logical categories (see below). I've set them up as one-to-one relationship using a customer ID in all 8 tables. I think the number of tables could be reduced, but I would still need to know the best way to connect them so I could manage adding new records and moving old records to a separate database.
Tables:
- Customer - basic contact information, move type, etc.
- Financial - payment of allowances and equity
- Marketing - market reports, offers, internal audits
- Disclosures - required disclosures to collect from customers
- Inspections - home inspections
- Appraisals - home appraisals
- Destination - new home purchase details
- Notes
Hopefully my database design is salvagable--I've spent many hours on it. Any advice to make it work more efficiently will be greatly appreciated!
--Summer