W
WOW News
Hello,
I need to copy a set of related records from the "Many" end of a "One to
Many" relationship. I don't know how to put this in words other than with
an example so here goes:
There is a table for Salespersons that is the "one" of a One to Many
relationship with several other tables (contacts, products, sales).
The primary key in the Salespersons table is SalespersonID which is linked
to many related records in each of the other tables.
If SalespersonID01 decides to leave the company or takes a different
position and we wish to add a new SalespersonID02 who will take over all the
same contacts, products, and sales, is there a way to copy all the related
records from SalespersonID01 to SalespersonID02?
I don't want to delete or reassign SalespersonID01 because I need the
historical records for that person. Basically I am trying to avoid having
to manually re-enter all the contacts, products, and sales for
SalespersonID02 by allowing the user to copy all the related data for
Salesperson01.
Thanks for any guidance you can provide!
I need to copy a set of related records from the "Many" end of a "One to
Many" relationship. I don't know how to put this in words other than with
an example so here goes:
There is a table for Salespersons that is the "one" of a One to Many
relationship with several other tables (contacts, products, sales).
The primary key in the Salespersons table is SalespersonID which is linked
to many related records in each of the other tables.
If SalespersonID01 decides to leave the company or takes a different
position and we wish to add a new SalespersonID02 who will take over all the
same contacts, products, and sales, is there a way to copy all the related
records from SalespersonID01 to SalespersonID02?
I don't want to delete or reassign SalespersonID01 because I need the
historical records for that person. Basically I am trying to avoid having
to manually re-enter all the contacts, products, and sales for
SalespersonID02 by allowing the user to copy all the related data for
Salesperson01.
Thanks for any guidance you can provide!