Announcements
No record found.
Hi,
I've a customization where i want to show records on form while generating report and stop preventing the ssrs report preview on screen once form is generated.
Kindly suggest me some solution how can i achieve this through code.
Regards,
Zohan
Doesn't it mean that you should use a different print destination than screen?
Hi Martin,
yes, can this be achievable ? through code ?
Yes, it can. For example, this is how you can tell a report controller to print the report to a file:
SRSPrintDestinationSettings settings = controller.parmReportContract().parmPrintSettings(); settings.printMediumType(SRSPrintMediumType::File); settings.fileFormat(SRSReportFileFormat::Excel); settings.fileName(@'\\share\Report.xlsx');
Martin,
Thankyou for your help. It worked
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 689
André Arnaud de Cal... 606 Super User 2026 Season 1
CP04-islander 356