I was wondering if there was any way to identify and/or copy all records related to a record being copied.
Let's say I have 5 tables A,B,C,D,E
My goal: When I copy record A1 to create record A2 I would like to identify all records in B,C,D,E (if they exist) and create records in those tables to relate to the new record A2.
I can write a routine for this but figured I would toss it out there before I started as I'm not one for re-inventing the wheel.
Let's say I have 5 tables A,B,C,D,E
My goal: When I copy record A1 to create record A2 I would like to identify all records in B,C,D,E (if they exist) and create records in those tables to relate to the new record A2.
I can write a routine for this but figured I would toss it out there before I started as I'm not one for re-inventing the wheel.