How to print the same report multiple times

ets say I have a letter for a customer made with FastReport.

The data comes from a MSSQL Database using queryparameters from reportparameters.

Now I want to print this letter to multiple Customer in one go.

Report report1 = new Report();
report1.Load("customerReport.frx");
report1.SetParameterValue("CustomerNr", 1);

Report report2 = new Report();
report2.Load("customerReport.frx");
report2.SetParameterValue("CustomerNr", 2);


etc.


How is it possible to combine/merge these reports into one and print it?


FastReport.Net Professional 2021.2.12

MS SQL 2017

Leave a Comment