Description:
Compute a report file.
Syntax:
report_run(rpt, paramValue:paramName,....)
Note:
This external library function (See External Library Guide) performs computation over a report file.
Parameter:
rpt |
A report object |
paramValue |
Report parameter value; can be omitted |
paramName |
Report parameter name; if it is omitted, write the report parameter values in its original order. It is illegal to write only some report parameter names while omitting others; the colon (;) following the parameter should always be rertained. |
Option:
@c |
Compute the report file, which is also the default operation when options are absent |
@p |
Paginate the report |
Return value:
The report file path
Example:
|
A |
|
1 |
>report_config("config\\raqsoftConfig.xml") |
|
2 |
=report_open("D:\\test.rpx") |
|
3 |
=report_run(A2) |
Compute the report file test.rpx that doesn’t have any parameters |
4 |
=report_open("D:\\test1.rpx") |
The report file test1.rpx has 3 parameters |
5 |
=report_run(A2,"abc":"arg1",12:"arg2","2016-01-02":"arg3") |
Compute a report file having several parameters |
6 |
=report_run(C3,"abc":,12:,"2016-01-02":) |
As the report parameter names are omitted, the parameter values are set in its original order, with the colon retained |
7 |
=report_open("D:\\test2.rpx") |
|
8 |
=repot_run@p(A2) |
Pagination without computation |
9 |
=repot_run@cp(A2) |
Computation as well as pagination |
Related function: