ITabSheet.Options

Syntax

Options: ITabOptions;

Description

The Options property returns the object, containing table parameters.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Rep: IPrxReport;

Tab: ITabSheet;

Opt: ITabOptions;

Begin

MB:=MetabaseClass.Active;

MObj:=MB.ItemById("Reg_rep").Edit;

Rep:=MObj As IPrxReport;

Tab:=Rep.ActiveSheet.Table;

Opt:=Tab.Options;

Opt.AutoPercentEntry:=True;

MObj.Save;

End Sub Main;

As a result the option "Automatically input percent" of the active sheet of the regular report will be enabled.

See also:

ITabSheet