Description:
Read a report/report group file.
Syntax:
report_open(filePath)
Note:
This external library function (See The Programmer’s Reference) reads a report file and returns report object rpt.
Parameter:
filePath |
The URL through which a report is opened, which can be an absolute path or a relative path; When it is the relative path, the base directory is the path specified in esProc main directory’s < mainPath > node in the configuration file. |
Return value:
Report file object
Example:
|
A |
|
1 |
>report_config("config\\raqsoftConfigReport.xml") |
|
2 |
=report_open("D:\\test.rpx") |
Read the report file test.rpx. |
3 |
=report_open("test1.rpx") |
With a relative path parameter, the report file path is the one set in <mainPath> node in the configuration file. |
Related function: