report_open()

Read(4784) Label: read, report file,

Description:

Read a report/report group file.

Syntax:

report_open(filePath)

Note:

This external library function (See The Programmer’ Guide to RaqReport) reads a report file and returns the report object rpt.

Parameter:

filePath

The URL through which a report is exported, which can be an absolute path or a relative path; when it is the relative path, the base directory is the path specified in the <home> 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 for <home> in the configuration file.

Related function:

report_config()