IDefTableArea.ShowName

Syntax

ShowName: Boolean;

Description

The ShowName property determines the state of the Show Name checkbox.

Comments

Available values:

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;
    
// The current data entry form instance
    DEForm := New DataEntryForm.CreateByReport(Report);
    
// Get table area
    TArea := DEForm.InputAreas.Item(0As IDefTableArea;
    TArea.ShowName := 
False;
    TArea.ShowTitles := 
False;
End Sub HideNameAndTitles;

When the macro is executed, displaying of name of heading/sidehead is disabled for the table area if there are no selection by sidehead/heading dimensions, respectively.

See also:

IDefTableArea