Print report many times depend on a field

Stimulsoft Reports.NET discussion
Post Reply
AlvaroMig
Posts: 2
Joined: Thu Nov 26, 2015 8:46 am

Print report many times depend on a field

Post by AlvaroMig »

Hi,

I have a report for sale orders where printed one barcode for each line is.
I want to print each barcode many times, based in each line quantity.

If I have sale order with 2 sale order lines (A with quantity 5 and B with quantity 3), I want to print A barcode 5 times and B barcode 3 times.
Is it possible?

Thanks!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Print report many times depend on a field

Post by Alex K. »

Hello,

As a way, you can use additional DataBand and in BeforePrint event of your main band set the CountData property for the second band.

Thank you.
Attachments
ReportSample.mrt
(21.07 KiB) Downloaded 193 times
AlvaroMig
Posts: 2
Joined: Thu Nov 26, 2015 8:46 am

Re: Print report many times depend on a field

Post by AlvaroMig »

It works!
Thank you!
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Print report many times depend on a field

Post by Andrew »

Hello,

Great! Thank you for the reply.
Post Reply