Editar

RecordRef.Field(Integer) Method

Version: Available or changed with runtime version 1.0.

Gets a FieldRef for the field that has the number FieldNo in the table that is currently selected. If no field has this number, the method returns an error.

Syntax

Field :=   RecordRef.Field(FieldNo: Integer)

Parameters

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

FieldNo
 Type: Integer
The number that the field has in the table that is currently selected. This is the field for which you want the FieldRef.

Return Value

Field
 Type: FieldRef
A new FieldRef of the record

See Also

RecordRef data type
Getting started with AL
Developing extensions