report_open()

Read(737) Label: read, report file,

Description:

Read a report file.

Syntax:

report_open(filePath)

Note:

This external library function reads a report file and returns the report object rpt.

Parameter:

filePath

The report file path, which is either a relative path or an absolute path; for a relative path, its base directory is the content of <home> in the configuration file.

Return value:

A report object

Example:

 

A

 

1

>report_config("config\\raqsoftConfig.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()