Par2: Trapping Errorcode() 40 -- duplicate record message 1999-10-28 -- Charles Ballard legacy: "When Completed, Before Writing to Disk" ABC: "TakeCompleted, before parent" Use the 'Duplicate' function to determine if writing the current record would create a duplicate key or you could write your own add(file) statement and then check for DupKeyErr. Printed April 3, 2025, 1:28 pm This article has been viewed/printed 35289 times. |