Copies a record from a C/SIDE table. All filters, marks, and keys are included in the copy.

Record.COPY(FromRecord [, ShareTable])



Type: Record

The record where the copy will be placed.


Type: Record

The record that you want to copy.


Type: Boolean

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.

Expand imageComments

Expand imageSee Also