Export (0) Print
Expand All

COPY Function (Record)

Microsoft Dynamics Nav 2009

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


Record.COPY(FromRecord [, ShareTable])

Parameters

Record

Type: Record

The record where the copy will be placed.

FromRecord

Type: Record

The record that you want to copy.

ShareTable

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.

If ShareTable is true, both Record and FromRecord must be temporary; otherwise an error will occur.

Community Additions

ADD
Show:
© 2014 Microsoft