Page 1 of 1

DataBand Iteration

Posted: Mon Jun 29, 2020 5:03 pm
by l.biesek
I'm trying to build a report for a delivery module using the report designer to create an iteration that generates all the tags for my deliveries.

For example. If I have quantity = 3, I want my dataBand to repeat 3 times just changing the text represented by the increment variable, printing the values "01/03", "02/03" and "03/03" with other fix data. If quantity is 6, the dataBand has to repeat 6 times.

Is there any tool that allow me to do that?

Thank you so much.

Re: DataBand Iteration

Posted: Tue Jun 30, 2020 12:47 pm
by HighAley
Hello.

You could use one more data band and set its CountData property using the AfterPrint event.
Please, look at the attached report template.
CountData.mrt
(126.21 KiB) Downloaded 161 times
Thank you.

Re: DataBand Iteration

Posted: Tue Jun 30, 2020 6:35 pm
by l.biesek
As you can observe, this is my data source:

Image

I Configured the script as you said:

Image

And after that the result wasn't as expected:
Image

In the example above the boxes should repeat depending on the integer number. It doesn't execute the script, no matter what I do.
Is there any other way?

Thank you

Re: DataBand Iteration

Posted: Wed Jul 01, 2020 7:36 am
by Lech Kulikowski
Hello,

Please send us your report with test data that reproduces the issue for analysis.

Thank you.