Page X of Y does not work in Page with Dataset
I create a Report, that should be send to differned customers. So i create the report normal. All work perfect if I say manual to every customers to get print. Every report was in the test 2 pages long. And also the Pagenumbering works perfekt.
But I want that the complett report is created for all customers together. I did it this way:
I create a query that have this result:
a (Customer a with Name, Street, place,...)
b ...
c ...
And than I create a FrxDBDataset that point to the query. And in the settings of the page I link to the FrxDBDataset. It also works perfect. I get 6 pages.
Page 1+2 is the report for customer a, 3+4 for b and 5+6 for c. But now the Pagenumbering is absolut crazy. I get this results:
Report__/\_Pagenumber__/\_page_/\_page#_/\_totalpages_/\_totalpages#
customer__of the Report
a______/\__1__________/\_-3___/\_1_____/\_-4_________/\_6
a______/\__2__________/\__2___/\_2_____/\__0________/\_6
b______/\__1__________/\__3___/\_3_____/\__0________/\_6
b______/\__2__________/\__2___/\_4_____/\_-2________/\_6
c______/\__1__________/\__3___/\_5_____/\_-2________/\_6
c______/\__2__________/\__2___/\_6_____/\_-4________/\_6
So the page# gives me absolut pagenumber, but not the report of the page. and totalpages+ gives me the complett pagenumbers of all!!! pages, of all the reports together. But <page> and <totalpages> are absolut crazy. Why? Does there exist any way that i get a numbering that works correct?
Thanks for every anser
Chaosworld
But I want that the complett report is created for all customers together. I did it this way:
I create a query that have this result:
a (Customer a with Name, Street, place,...)
b ...
c ...
And than I create a FrxDBDataset that point to the query. And in the settings of the page I link to the FrxDBDataset. It also works perfect. I get 6 pages.
Page 1+2 is the report for customer a, 3+4 for b and 5+6 for c. But now the Pagenumbering is absolut crazy. I get this results:
Report__/\_Pagenumber__/\_page_/\_page#_/\_totalpages_/\_totalpages#
customer__of the Report
a______/\__1__________/\_-3___/\_1_____/\_-4_________/\_6
a______/\__2__________/\__2___/\_2_____/\__0________/\_6
b______/\__1__________/\__3___/\_3_____/\__0________/\_6
b______/\__2__________/\__2___/\_4_____/\_-2________/\_6
c______/\__1__________/\__3___/\_5_____/\_-2________/\_6
c______/\__2__________/\__2___/\_6_____/\_-4________/\_6
So the page# gives me absolut pagenumber, but not the report of the page. and totalpages+ gives me the complett pagenumbers of all!!! pages, of all the reports together. But <page> and <totalpages> are absolut crazy. Why? Does there exist any way that i get a numbering that works correct?
Thanks for every anser
Chaosworld