Id: String;
Id: string;
The Id property returns sheet identifier.
To determine sheet name, use IEaxSheet.Name.
Executing this example requires that the repository contains an express report with the EXPRESS_REPORT identifier.
Add links to the Express, Metabase system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Eax: IEaxAnalyzer;
Sheet: IEaxSheet;
Begin
MB := MetabaseClass.Active;
Eax := MB.ItemById("EXPRESS_SHEETID").Bind As IEaxAnalyzer;
Sheet := Eax.Sheets.Item(0);
Debug.WriteLine("Report sheet identifier - " + Sheet.Id);
End Sub UserProc;
After executing the example the console displays identifier of the first report sheet.
The requirements and result of the Fore.NET Example execution match with those in the Fore Example.
Imports Prognoz.Platform.Interop.Express;
…
Public Shared Sub Main(Params: StartParams);
Var
MB: IMetabase;
Eax: IEaxAnalyzer;
Sheet: IEaxSheet;
Begin
MB := Params.Metabase;
Eax := MB.ItemById["EXPRESS_SHEETID"].Bind() As IEaxAnalyzer;
Sheet := Eax.Sheets.Item[0];
System.Diagnostics.Debug.WriteLine("Report sheet identifier - " + Sheet.Id);
End Sub;
See also: