Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.55 KB

File metadata and controls

46 lines (37 loc) · 1.55 KB
title description ms.author ms.date ms.topic author ms.reviewer
Record.SetRange(Any [, Any] [, Any]) Method
Sets a simple filter, such as a single range or a single value, on a field.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

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.

See Also

Record Data Type
Get Started with AL
Developing Extensions