Page 1 of 1

Limit DataBand

Posted: Mon May 30, 2016 12:58 pm
by Leandro Borges
Hello.
I need a DataBand grow to a certain size and when you reach that size, break and print the rest on another page.
Thank you.

Re: Limit DataBand

Posted: Mon May 30, 2016 1:32 pm
by Alex K.
Hello,

You can use the additional code in the BeforePrint event, in which calculate summary size and use the Engine.NewPage() method.

Thank you.

Re: Limit DataBand

Posted: Tue May 31, 2016 12:58 pm
by Leandro Borges
Hello.
My DataBand print 4 times, how do I print it 10 more times after the last record?
Example:
first record
second record
third record
record room

Thank you.

Re: Limit DataBand

Posted: Tue May 31, 2016 1:14 pm
by Alex K.
Hello,

Please try to use the EmptyData component. Also, you can add the additional DataBand component and use the following code in BeforePrint event:

Code: Select all

AdditionalDataBand.CountData = 10 - DataBand.Count
Thank you.

Re: Limit DataBand

Posted: Wed Jun 08, 2016 9:08 pm
by Leandro Borges
Hello.
It worked.
Thank you.

Re: Limit DataBand

Posted: Thu Jun 09, 2016 7:41 am
by Alex K.
Hello

We are always glad to help you!

Thank you.