Group breaks and PageSetDesc
ReportBuilder 21.04 (Dephi 7)
I have a report that is using a single query linked to a pipeline. Page header/Footer
I have setup 3 group breaks
1 is a string field
2 is a bit field
3 is an integer
All 3 have "Start New Page" and "Reset page Number"
I have the query test data set up to break at row 3 on field 1, then break at row 36, then the remaining rows to completion (numbers of records is not important, just inducing the group break).
The report plays out ok with the page breaks in the correct places. However:
1st page has "Page 1 of 1" (2 rows then break)
2nd page has "Page 1 of 7" (34 rows then break)
3rd page has "Page 2 of 7" (and continues on from here).
What I thought it would do
1st page has "Page 1 of 1" (2 rows then break)
2nd page has "Page 1 of 1" (34 rows then break)
3rd page has "Page 1 of 6" (and continues on from here).
I think next I will try adding a concatenated field of all 3 and a single group break to see if it works ok.
I have a report that is using a single query linked to a pipeline. Page header/Footer
I have setup 3 group breaks
1 is a string field
2 is a bit field
3 is an integer
All 3 have "Start New Page" and "Reset page Number"
I have the query test data set up to break at row 3 on field 1, then break at row 36, then the remaining rows to completion (numbers of records is not important, just inducing the group break).
The report plays out ok with the page breaks in the correct places. However:
1st page has "Page 1 of 1" (2 rows then break)
2nd page has "Page 1 of 7" (34 rows then break)
3rd page has "Page 2 of 7" (and continues on from here).
What I thought it would do
1st page has "Page 1 of 1" (2 rows then break)
2nd page has "Page 1 of 1" (34 rows then break)
3rd page has "Page 1 of 6" (and continues on from here).
I think next I will try adding a concatenated field of all 3 and a single group break to see if it works ok.
Comments
It appears you have found a solution to your issue however if you would like us to take a look at the initial problem, please create a simple example using only RB and Delphi components (and sample data) and send it to support@digital-metaphors.com and I'll take a look.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com