IPrxDataIslandHeader.Filter

Syntax

Filter: IPrxDataIslandHeaderFilter;

Description

The Filter property returns an object containing parameters of filtering for rows and columns.

Example

Executing the example requires a regular report with the REPORT identifier, which contains data area.

Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Report: IPrxReport;
    DI: IPrxDataIsland;
    Prop: IPrxDataIslandProperties;
    THead: IPrxDataIslandHeader;
    Filter: IPrxDataIslandHeaderFilter;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get regular report
    MObj := MB.ItemById("REPORT").Edit;
    Report := MObj As IPrxReport;
    DI := Report.DataIslands.Item(0).Edit;
    // Get area 
    Prop := DI.Properties;
    THead := Prop.TopHeader;
    Filter := THead.Filter;
    DI.Save;
    // Save report   
    MObj.Save;
End Sub UserProc;

After executing the example the Filter variable contains filtering parameters for columns of the first data area.

See also:

IPrxDataIslandHeader