Duplicating a Record
When I delete a record there is a built-in provision to delete the master and the related records. I need to script a duplication button for a record with related records.
1) Duplicate the Parent, capturing the new Key Field in a variable.
2) Return to the Original record and then GTRR to duplicate them replacing the Key Field with the new Key Field.
Have I covered the basics? Any caveats, warnings?