ITabOptions.AutoPercentEntry

Syntax

AutoPercentEntry: Boolean;

Description

The AutoPercentEntry property determines whether the Automatically Input Percents checkbox is selected in the Sheet Parameters dialog box.

Comments

Use the property within one session, for example, on working with table parameters on form. The AutoPercentEntry property value is not saved on report closing.

Example

Executing the example requires that the repository contains a regular report with the REG_REP identifier.

Add links to the Metabase, Report, Tab system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Rep: IPrxReport;
    Tab: IPrxTable;
    Opt: ITabOptions;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"Reg_rep").Edit;
    Rep := MObj 
As IPrxReport;
    Tab := Rep.ActiveSheet 
As IPrxTable;
    Opt := Tab.TabSheet.Options;
    Opt.AutoPercentEntry := 
True;
    MObj.Save;
End Sub UserProc;

After executing the example the Automatically Input Percents checkbox is selected for the active sheet of the regular report.

See also:

ITabOptions