psReportName - cDRReport¶
Methods - Properties - Events
Type¶
String
Default¶
None
Arguments¶
None
Description¶
Should be set to the name of the DataFlex Reports report to be opened when OpenReport or RunReport is sent to the object.
If a file name without a path is used, the OpenReport method will attempt to locate the report in the workspace. If the full path is included, this will be used to open the report.
DataFlex Framework usage¶
- Web
- Windows
- FlexTron
Sample¶
Find report in workspace's data path
Object oReport is a cDRReport
Set psReportName to 'SampleReport.dr'
End_Object
Find report in a subfolder named 'reports' of the workspace's data path
Object oReport is a cDRReport
Function ReportsFolder Returns String
Function_Return ''
End_Function
Set psReportName to '\reports\SampleReport.dr'
End_Object
Find report in a specific location
Object oReport is a cDRReport
Set psReportName to 'C:\Reports\SampleReport.dr'
End_Object