how to duplicate databand

Stimulsoft Ultimate discussion
Post Reply
lcsdeb
Posts: 1
Joined: Mon Jun 22, 2015 3:26 pm

how to duplicate databand

Post by lcsdeb »

Hello,

I would like to know how to duplicate a "DataBand" according to a number in my database.

For example, if my product has a quantity 2, I will wish to duplicate 2 times the "DataBand"

thank you in advance,
Lucas
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: how to duplicate databand

Post by Jan »

Hello,

This is not problem. Place before required data band (data2) a new data band (data1). At data2 set MasterComponent to data1. After this type in the BeforePrintEvent of the data1 following code:

Code: Select all

DataBand2.CountData = Repeat;
where Repeat your value.

Please find in attachment a sample report. Run from Demo.exe report designer. Open this report and run it.

Thank you.
Attachments
SimpleList.mrt
(15.75 KiB) Downloaded 199 times
Post Reply