Editar

Compartir a través de


Record.SetRange(Any [, Any] [, Any]) Method

Version: Available or changed with runtime version 1.0.

Sets a simple filter, such as a single range or a single value, on a field.

Syntax

 Record.SetRange(Field: Any [, FromValue: Any] [, ToValue: Any])

Parameters

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

Field
 Type: Any
The field that you want to filter.

[Optional] FromValue
 Type: Any
The lower limit of the range. The data type of this parameter must match the data type of Field.

[Optional] ToValue
 Type: Any
The upper limit of the range. If you omit this parameter, then the value that you specified for FromValue is used. The data type of this parameter must match the data type of Field.

Record Data Type
Get Started with AL
Developing Extensions