1 2 3 Previous Next 36 Replies Latest reply on Mar 4, 2016 5:58 PM by user19752

    Duplicate a record and related records

    mdgarner

      I am trying to duplicate a record and its related records using the following script:Screen Shot 2016-02-21 at 12.22.09 PM.png

      Script works fine when there are records in the related tables.  If the related tables contain no records, it copies all of the records in the related table to the new duplicate record.  How can I exit the Duplicate Related Record loop when there are no records?  Thank you in advance for your help,

        1 2 3 Previous Next