RecordRef.SetTable(Record) Method

Version: Available or changed with runtime version 1.0.

Sets the table to which a Record variable refers as the same table as a RecordRef variable.

Syntax

 RecordRef.SetTable(Rec: Record)

Parameters

RecordRef
 Type: RecordRef
An instance of the RecordRef data type.

Rec
 Type: Record
Specifies the Record that you want to refer to the table.

See Also

RecordRef Data Type
Getting Started with AL
Developing Extensions