# Multiple report execution

**URL:** <https://www.dynamicsuser.net/t/multiple-report-execution/59372>\
**Category:** Developer Forum\
**Created:** [December 14, 2015, 11:16am UTC](https://www.dynamicsuser.net/t/multiple-report-execution/59372 "2015-12-14T11:16:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhinaybuiss](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@abhinaybuiss](https://www.dynamicsuser.net/u/abhinaybuiss)\
**Post date:** [December 14, 2015, 11:16am UTC](https://www.dynamicsuser.net/t/multiple-report-execution/59372/1 "2015-12-14T11:16:55Z")

</div>

Hi,

I am trying to execute multiple designs of the same report at the same time. The controller class reads like:

`class MyReportController extends SrsReportRunController`

`public static client void main(Args _args)`  
`{`  
`MyReportController controller = new MyReportController();`  
`ReportDesign labelSize;`  
`;`  
``  
`labelSize = _args.parmEnum();`

`if(labelSize == ReportDesign::SmallBox)`  
`controller.parmReportName(#ReportName_S);`  
`else if(labelSize == ReportDesign::Normal)`  
`controller.parmReportName(#ReportName_M);`  
`controller.parmData(_args.record());`  
`controller.parmRecId(_args.record().RecId);`  
`//controller.parmReportContract().parmPrintSettings().printMediumType(SRSPrintMediumType::Screen);`  
`controller.parmExecutionMode(SysOperationExecutionMode::ReliableAsynchronous);`  
`controller.parmShowDialog(false);`  
`controller.startOperation();`  
`}`

and the method calling the menuitem of the controller class is:

`ReportDesignEnum ReportDesign;`  
`;`  
`args.record(MyTable_1);`  
`ReportDesign = ReportDesign::SmallBox;`  
`args.parmEnumType(enumnum(ReportDesign));`  
`new MenuFunction(menuItemOutputStr(MyController), MenuItemType::Output).run(args);`

`args.record(MyTable_1);`  
`ReportDesign = ReportDesign::Normal;`  
`args.parmEnumType(enumnum(ReportDesign));`  
`new MenuFunction(menuItemOutputStr(MyController), MenuItemType::Output).run(args);`

However, no report design is seen on the screen.

The reports execute one after the other if I comment the **_execution-mode_**.

What could I be doing wrong?

---

<div class="post-metadata">

**Author:** ![abhinaybuiss](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@abhinaybuiss](https://www.dynamicsuser.net/u/abhinaybuiss)\
**Post date:** [December 15, 2015, 10:59am UTC](https://www.dynamicsuser.net/t/multiple-report-execution/59372/2 "2015-12-15T10:59:38Z")

</div>

Any suggestion?
