Returns the definition of a report as well as the report’s security class ID and description. The report definition is returned as an array of bytes.
<HsvReports>.GetReport bstrName, nReportFileType, nReportType, plSecurityClass, pbstrDescription, pvarabyFile
String (ByVal). The name of the report. The report must exist on the application server. | |
Integer (ByVal). Identifies the file type of the report. Pass one of the constants listed in Document File Type Constants. | |
Integer (ByVal). Identifies the type of report. Pass one of the constants listed in Document Type Constants that represent report types. | |
Long. Returns the ID number of the report’s security class. You can get the name of the security class by passing this ID to GetSecurityClassLabel. For details, see GetSecurityClassLabel. | |
Variant array. Returns the report’s definition. The array is returned as a Byte subtype. |
The following example prints the definition of a journal report named Monthly to Visual Basic’s Immediate window.