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
how to duplicate databand
Re: how to duplicate databand
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:
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.
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;
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