IDefTableArea.ShowParams

Syntax

ShowParams: Boolean;

Description

The ShowParams property determines whether parameter values will be displayed above the table area.

Comments

The property is set to True by default, and parameters linked with dimensions and their selection will be displayed above the table area. If the property is set to False, parameters will not be displayed above the table area.

Example

Executing the example requires that the repository contains a data entry form, for which the specified macro is set as an executable method for a custom button. A table area is created in the data entry form.

Add links to the Metabase, Report system assemblies. Add links to the assemblies required for working with data entry forms.

Public Sub HideNameAndTitles(Report: IPrxReport);
Var
    Mb: IMetabase;
    DEForm: IDataEntryForm;
    TArea: IDefTableArea;
Begin
    Mb := MetabaseClass.Active;
    // Current data entry form instance
    DEForm := New DataEntryForm.CreateByReport(Report);
    // Get table area
    TArea := DEForm.InputAreas.Item(0As IDefTableArea;
    TArea.ShowParams := True;
    TArea.ShowOnlyFixedParams := True;
End Sub HideNameAndTitles;

When the macro is executed, displaying of elements of the parameters linked with fixed dimensions will be enabled for a table area.

See also:

IDefTableArea