IEaxDataSources.DisplaySourcesNames

Syntax

DisplaySourcesNames: Boolean;

DisplaySourcesNames: Boolean;

Description

The DisplaySourcesNames property determines whether data source names are displayed before element names in table heading or sidehead.

Comments

Available values:

Example

Executing the example requires a button named Button1 and an express report with the EXPRESS_REPORT identifier built on several data sources.

Add links to the Metabase and Express system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    ExpDs: IEaxDataSources;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr := MObj 
As IEaxAnalyzer;
    ExpDs := Expr.DataSources;
    ExpDs.DisplaySourcesNames := False;
    MObj.Save;
End Sub Button1OnClick;

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    ExpDs: IEaxDataSources;
Begin
    MB := Self.Metabase;
    MObj := MB.ItemById[
"EXPRESS_REPORT"].Edit();
    Expr := MObj 
As IEaxAnalyzer;
    ExpDs := Expr.DataSources;
    ExpDs.DisplaySourcesNames := False;
    MObj.Save;
End Sub Button1OnClick;

After executing the example clicking the button hides the express report data source names from the table.

See also:

IEaxDataSources