GetReportStyleSheetIdByName

From Catglobe Wiki
Jump to: navigation, search

[Will obsolete soon and replace by new ReportStyleSheet(qualifiedName).Id]

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