SilentRage47 SilentRage47 - 5 days ago 6
C# Question

Print multiple copies of the same RDLC report

I have a

RDLC
reports that print some data based on a certain query. What I'm trying to do now is to print the same report (with different data based on a different value for the primary key) multiple time without having different files to print.

Let's say I have 3 reports of 2 pages each, I want a single report of 6 pages.

I used to do that in
Crystal Report XI
simply by putting a group on my primary key but I haven't been able to replicate that in
Visual Studio Report Designer
.

I need a preview is possibile so I can't just print them one after another.

Answer

After some digging I actually solved my issue using PdfSharp.

It works wonderfully for me because I don't need multiple rdlc files, I just do a loop and then export all to pdf.

Comments