Hi All,
I have created one ssrs report with one string parameter. I try to call this SSRS report through output menuitem and x++.
I am using the below code but, the value is not passing to the report. I am sure the value is there in the table.
MenuFunction SSRS_Report;
Args Args;
str parmId ="";
super();
SSRS_Report = new MenuFunction(menuItemOutputStr(DeliveryReceiptMenuItem),MenuItemType::Output);
Args = new Args();
parmId = "DeliveryReceiptParmId=" + DeliveryReceiptTable.Id;
Args.parm(parmId);
SSRS_Report.run(Args);
Thanks in advance,
Hari
*This post is locked for comments
Hi,
I believe this is what you are looking for:
www.linkedin.com/.../How-can-I-run-SSRS-3793661.S.210858144
Instead of using menufunction, use the SrsReportRunController class.
You can use it to directly output to printer too, anything you want really :).
Hope this helps.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156