ITabView.AutoFilter

Syntax

AutoFilter: ITabAutoFilter;

Description

The AutoFilter property returns the object, which contains the auto filter of the table.

Example

Sub Main;

Var

MB: IMetabase;

Rep: IPrxReport;

Tab: ITabSheet;

View: ITabView;

b: Boolean;

Begin

MB:=MetabaseClass.Active;

Rep:=MB.ItemById("Reg_rep").Bind As IPrxReport;

Tab:=Rep.ActiveSheet.Table;

View:=Tab.View;

b:=View.AutoFilter.Enabled;

End Sub Main;

As a result the "b" variable will be set to True if regular report autofilter is enabled.

See also:

ITabView