Page 1 of 1

Databand with Fixed number of lines

Posted: Tue Jul 02, 2013 3:46 pm
by bsilence
Hello,

Is there a way to fix a databand to a fixed number of lines?
Like, for example, i have a business object that will produce a info with 54 lines. What i want is to make sure that in the first page i will have only 40 lines in my databand and in the second the rest, 14.

Thank you for your help.

Best regards.

Bruno Fernandes

Re: Databand with Fixed number of lines

Posted: Wed Jul 03, 2013 6:16 am
by Jan
Hello Bruno,

Thank you for your question.
You can place your DataBand in Panel component. You can change number of output lines with help of height of Panel. Please check attached sample.

Thank you.

Re: Databand with Fixed number of lines

Posted: Thu Jul 04, 2013 6:16 am
by HighAley
Hello, Bruno.

Also you could enter next code in the Before Print event of the Data Band next code:

Code: Select all

if(Line > 40)
	Engine.NewPage();
Thank you.