GetReportStyleSheetIdByName

From Catglobe Wiki
Revision as of 04:33, 13 May 2022 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Will obsolete soon and replace by new ReportStyleSheet(qualifiedName).Id. More detail at ConversionMethods ]

getReportStyleSheetIdByName

Gets the primary key of a report style sheet by the qualified name.

Syntax

getReportStyleSheetIdByName(reportStyleSheetName)

Arguments

reportStyleSheetName: Is a string expression. It is the full path of report style sheet you want to get its ID. Double back-slash must be used for specifying the path.

Return type

number

Examples

number stylesheetId = getReportStyleSheetIdByName("MainFolderUnderRoot\\Catinet 2007Jul12");

print(stylesheetId);

//Result: stylesheetId (e.g: 510)

Availability

Version 5.4