DisplaySourcesNames: Boolean;
The DisplaySourcesNames property determines whether data source names are displayed before element names in table heading or sidehead.
Available values:
True. Default value. Data source names are displayed.
False. Data source names are hidden.
Executing the example requires an express report with the EXPRESS_REPORT identifier built based on several data sources.
Add links to the Express, Metabase system assemblies.
Sub UserProc;
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 UserProc;
After executing the example names of express report data sources will be hidden from the table.
See also: