EternalMyrtle
I'm still alive
- Local time
- Today, 12:25
- Joined
- May 10, 2013
- Messages
- 533
Hello,
I need help setting up a history table for contacts and the companies that they are associated with. I am sure this will be obvious to some of you database veterans but I am fairly new to Access and I can't seem to figure out the best way to accomplish what I am trying to do.
Here is what I need to do:
When a contact's employment status changes, I need to change the contact's current company association but somehow maintain his or her association with the previous company so that s/he can still be associated with past projects.
So, in my contacts table (TBLContacts), I have a foreign key field "CompanyFK" that links to my companies table (TBLCompaniesPK). There is a one to many relationship between TBLCompanies and TBLContacts.
I want the CompanyFK field to be the current company but somehow link the person with past companies too so that the project directories and subforms will continue to show the contact's association with the parent company.
Does this make any sense? Maybe I don't need a history table but something else?
I really appreciate any thoughts on this. It has been eluding me for some time. I have a similar problem with companies that change name, too. How to deal with takeovers, name changes, mergers, etc.
Thank you!
I need help setting up a history table for contacts and the companies that they are associated with. I am sure this will be obvious to some of you database veterans but I am fairly new to Access and I can't seem to figure out the best way to accomplish what I am trying to do.
Here is what I need to do:
When a contact's employment status changes, I need to change the contact's current company association but somehow maintain his or her association with the previous company so that s/he can still be associated with past projects.
So, in my contacts table (TBLContacts), I have a foreign key field "CompanyFK" that links to my companies table (TBLCompaniesPK). There is a one to many relationship between TBLCompanies and TBLContacts.
I want the CompanyFK field to be the current company but somehow link the person with past companies too so that the project directories and subforms will continue to show the contact's association with the parent company.
Does this make any sense? Maybe I don't need a history table but something else?

I really appreciate any thoughts on this. It has been eluding me for some time. I have a similar problem with companies that change name, too. How to deal with takeovers, name changes, mergers, etc.
Thank you!