web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How print multiple copies of SSRS Report

(3) ShareShare
ReportReport
Posted on by 2
On sales Invoice Report generation, three copies should be generated with following texts 

Original for Buyer

Duplicate for Transporter

Triplicate for Supplier
 
and solution or lead how can we achieve this in SSRS report , thanks
I have the same question (0)
  • Hana Xue Profile Picture
    Microsoft Employee on at
  • Suggested answer
    Tanay_08 Profile Picture
    12 on at
    Hi Sachin,
    for getting multiple copies of the SSRS report :
    1) You need to create multiple reports designs
    2) Add a for loop in the main method of controller class of SSRS report
    3) add the report design as per your copies sequence and then run startOperation() method of controller class.
     
    I am attaching sample code for your referral:
     
    for (i=1;i<=2;i++) //To show the print for 2 times
    {
    controller = new ReportController();
    if (i == 1)
    {
    controller.parmArgs(_args);
    controller.parmShowDialog(false);
    controller.parmReportName(ssrsReportStr(ReportName, OriginalDesign));
    controller.parmShowReportViewerParameters(false);
    controller.startOperation();
    }
    else if (i == 2)
    {
    controller.parmArgs(_args);
    controller.parmShowDialog(false);
    controller.parmReportName(ssrsReportStr(ReportName, DuplicateDesign));
    controller.parmShowReportViewerParameters(false);
    controller.startOperation();
    }
    }
     

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.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 678 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 407 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 283 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans