Record.CopyFilters(var Record) Method

Version: Available or changed with runtime version 1.0.

Copies all the filters set by the SETFILTER method (Record) or the SETRANGE method (Record) from one record to another.

Syntax

 Record.CopyFilters(var FromRecord: Record)

Parameters

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

FromRecord
 Type: Record
The record from which you want to copy filters.

Remarks

All filters are copied and remain in their assigned group numbers. For example: Rec.CopyFilters(FromRec); disregards the current filter group on both Rec and FromRec, and copies all filters in FromRec (regardless of group number) into the same filter group assignments on Rec.

See Also

Record Data Type
Get Started with AL
Developing Extensions