More actions
jrfconvert import |
No edit summary |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[ | [Will obsolete soon and replace by [[ReportStyleSheet_class|new ReportStyleSheet(qualifiedName).Id]]. More detail at [[ConversionMethods|ConversionMethods]] ] | ||
=====getReportStyleSheetIdByName===== | ===== getReportStyleSheetIdByName ===== | ||
Gets the primary key of a report style sheet by the qualified name. | Gets the primary key of a report style sheet by the qualified name. | ||
'''Syntax''' | '''Syntax''' | ||
getReportStyleSheetIdByName(''reportStyleSheetName'') | getReportStyleSheetIdByName(''reportStyleSheetName'') | ||
'''Arguments''' | '''Arguments''' | ||
''reportStyleSheetName'': | ''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''' | '''Return type''' | ||
number | number | ||
'''Examples''' | '''Examples''' | ||
''getReportStyleSheetIdByName("MainFolderUnderRoot''\\''Catinet 2007Jul12");'' | ''number stylesheetId = getReportStyleSheetIdByName("MainFolderUnderRoot''\\''Catinet 2007Jul12");'' | ||
'' | ''print(stylesheetId);'' | ||
Version 5.4 | ''//Result: stylesheetId (e.g: 510)'' | ||
__NOTOC__ | |||
<!-- imported from file: 4197.htm--> | '''Availability''' | ||
Version 5.4 __NOTOC__ <!-- imported from file: 4197.htm--> | |||
[[Category:Style_setting_functions]] |
Latest revision as of 02:33, 13 May 2022
[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