Copies a record from a C/SIDE table. All filters, marks, and keys are included in the copy.
Record.COPY(FromRecord [, ShareTable])
The record where the copy will be placed.
The record that you want to copy.
Specifies whether the function creates a copy of the record or creates a reference to a temporary record.
If FromRecord and Record are both temporary and ShareTable is true, then the COPY function does not create a new copy of the record. Instead, the COPY function causes Record to reference the same table as FromRecord.
The default value is false. If you specify false, all records are copied to Record from FromRecord.
If ShareTable is true, both Record and FromRecord must be temporary; otherwise an error will occur.