ICompoundDimensionSource.ForcedHideSourceName

Syntax

ForcedHideSourceName: Boolean;

Description

The ForcedHideSourceName property returns whether data source name is hidden in a composite dictionary.

Comments

Available values:

Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier. The express report contains several data sources. Displaying the first data source is disabled.

Add links to the Dimension, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Obj: IMetabaseObject;
    Discr: IMetabaseObjectDescriptor;
    CompoundDim: ICompoundDimension;
    Source: ICompoundDimensionSource;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report and private dimensions
    obj := MB.ItemById("EXPRESS").Edit;
    Discr := obj.Children.Item(0);
    CompoundDim := Discr.Children.Item(0).Edit As ICompoundDimension;
    Source := CompoundDim.Sources.Item(0);
    // Display whether name of the first data source is displayed
    Debug.WriteLine("Display data source name " + Source.Name + " is hidden:");
    Debug.Indent;
    Debug.WriteLine(Source.ForcedHideSourceName);
End Sub UserProc;

After executing the example the console window displays the message whether displaying of the first data source is hidden.

See also:

ICompoundDimensionSource