Page 1 of 1
How i can fix minimum and maximum of row ?
Posted: Wed Jun 10, 2015 8:47 am
by lightening
i want fix 5 row per page, but i have data 8 row
------------Page 01
1.Name Type Desc
2.Name Type Desc
3.Name Type Desc
4.Name Type Desc
5.Name Type Desc
------------Page 02
1.Name Type Desc
2.Name Type Desc
3.Name Type Desc
4.
5.
sorry for my english language not strong
Re: How i can fix minimum and maximum of row ?
Posted: Wed Jun 10, 2015 10:46 am
by HighAley
Hello.
You can add
an empty band.
To add page break you could use next code:
Thank you.
Re: How i can fix minimum and maximum of row ?
Posted: Wed Jun 10, 2015 11:07 am
by lightening
Aleksey Andreyanov wrote:Hello.
You can add
an empty band.
To add page break you could use next code:
Thank you.
Thank you.
i use Print Event -> After Print and Empty band it work.
Code: Select all
if(Line % 5 == 0) {
Engine.NewPage();
}
Re: How i can fix minimum and maximum of row ?
Posted: Wed Jun 10, 2015 12:42 pm
by HighAley
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
Re: How i can fix minimum and maximum of row ?
Posted: Sat Feb 27, 2016 1:06 pm
by ncxn
Hello, I search google and found this page.
I have some issue that is similar
How can reset line number for data band when break page
ex:
I have data band 10 rows, so i wan to show in two page with line number starting from 1 for each page:
Page 1:
line number/record
1.record
2.record
3.record
4.record
5.record
Page 2
1.record
2.record
3.record
4.record
5.record
My problem:
I can break page with 5 row for each page but line still not reset on page 2
so page 2 see look like:
Page 2
6.record
7.record
8.record
9.record
10.record
-------------------------------------------
Thank you and happy weenkend
Re: How i can fix minimum and maximum of row ?
Posted: Mon Feb 29, 2016 11:35 am
by HighAley
Hello.
Please, add a variable and increment numbers there.
When you add a page break reset the value of the variable to zero.
Thank you.
Re: How i can fix minimum and maximum of row ?
Posted: Wed Mar 02, 2016 9:47 am
by ncxn
HighAley wrote:Hello.
Please, add a variable and increment numbers there.
When you add a page break reset the value of the variable to zero.
Thank you.
thank you
Re: How i can fix minimum and maximum of row ?
Posted: Wed Mar 02, 2016 2:12 pm
by HighAley
Hello.
We are always glad to help you.
Let us know if you need our help.
Thank you.
Re: How i can fix minimum and maximum of row ?
Posted: Mon Dec 16, 2019 10:26 am
by El-Pietro
Hello, I'm novice in Stimulsoft and I have this same problem. This should help me but I dont know where can I write this piece of code( if(Line % 5 == 0) {... ) I never used code page in stimulsoft to make report because I was fine with basic page1. I know this is stupid question. My report have 10016 lines so...its hard to find it by trial and error.
Thank you
Re: How i can fix minimum and maximum of row ?
Posted: Tue Dec 17, 2019 3:01 pm
by HighAley
Hello,
Could you specify the product and its version?
The events are available not in all products.
Thank you.