Hi to all!
I want to print the same report (with different parameters) more than once simultaneously.
I call the report from a class with the following code:
MyNewController controller = new MyNewController();
Args args = new Args();
args.record(this.parmParmBuffer());
controller.parmArgs(args);
controller.parmReportName(ssrsReportStr(SSRSReportName, DesignName));
controller.parmShowDialog(false);
controller.parmReportContract().parmRdlContract().parmLanguageId(CompanyInfo::languageId());
controller.startOperation();
The "MyNewController" extends SrsReportRunController and in the method "runReport" I have a while, in which I call the "super()" more than once.
while (queryRun.next())
{
//set contract parameters
contract.parm...();
contract.parm...();
//generate the report
super();
}
(For example, I have a query, and for each record of the query I want to print a report.)
My problem is that the next report will open only when I closed the previously report.
I want to open reports all at the same time.
Any ideas?
Thanks in advance
Martina
*This post is locked for comments
I have the same question (0)