Page 4 of 5
Fix number of record per page.
Posted: Tue Nov 10, 2009 9:33 pm
by fkmfkm
Edward wrote:Hi
Engine.NewPage() starts a new page, so after calling of that command next element of the report will be rendering on the new page.
Thank you.
Yes this newPage will move everything to a new page..
But I need the DataBand2 and Databand3 to still be on the first page, even thou Databand1 got more than 5 records. Its a fixed form where each band can hold only 5 records.
Fix number of record per page.
Posted: Wed Nov 11, 2009 9:48 am
by Edward
Hi
Please show a screenshot of the result you need to achieve.
Will your databands be connected with each other or not?
Thank you.
Fix number of record per page.
Posted: Mon Nov 16, 2009 7:44 am
by fkmfkm
Edward wrote:Hi
Please show a screenshot of the result you need to achieve.
Will your databands be connected with each other or not?
Thank you.
It is not connected....I have answered Jan on this...
Where can I attach the screen shot ? email ?
Fix number of record per page.
Posted: Tue Nov 17, 2009 7:53 am
by Edward
Hi,
Please send these screenshots to support[at]stimulsoft.com
Thank you.
Re: Fix number of record per page.
Posted: Fri Nov 20, 2015 7:14 pm
by leonardo-cadete
I would like to know if this problem was solved
Re: Fix number of record per page.
Posted: Mon Nov 23, 2015 5:47 am
by HighAley
Hello, Leonardo.
We didn't get enough information about the issue to solve it.
Could you specify what problem you have?
Thank you.
Re: Fix number of record per page.
Posted: Mon Nov 23, 2015 10:48 am
by leonardo-cadete
I have
DataBand1 (max 5 records)
HeaderBand2
DataBand2 (max 5 records)
HeaderBand3
DataBand3 (max 5 records)
I would like to limit the number of records for each databand to 5 for each page. If its more than 5 then then it will move to the next page and so on. I want all the bands to be on every page.
Using engine.newPage () of all subsequent databand will move to the next page and I need that the only databand which has more than 5 records go to the next page.
Thank you.
Re: Fix number of record per page.
Posted: Mon Nov 23, 2015 1:55 pm
by HighAley
Hello, Leonardo.
Please, try to use next code in the AfterPrint event of the DataBand:
Thank you.
Re: Fix number of record per page.
Posted: Mon Nov 23, 2015 4:15 pm
by leonardo-cadete
Hello,
I’ve tried using this command but all databand below go to the next page. I need only the specified databand go to next page.
Thank you.
Re: Fix number of record per page.
Posted: Tue Nov 24, 2015 5:46 am
by HighAley
Hello, Leonardo.
Then we need more detailed description of your issue.
Could you send us your report template with result that you get and what you want to get?
Probably we will need sample data for your report template to reproduce your issue. Please, send it too.
Thank you.