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
Databand with Fixed number of lines
Re: Databand with Fixed number of lines
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.
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.
- Attachments
-
- DataBandInPanel.mrt
- (14.92 KiB) Downloaded 228 times
Re: Databand with Fixed number of lines
Hello, Bruno.
Also you could enter next code in the Before Print event of the Data Band next code:
Thank you.
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();