General information
Category:
Reports & Report designer
Title:
How to count the total page number of a group in a Report??
Dear all,
In a report I divide the data into groups such as:
select * from MyDBF group by FieldA into cursor FileToBeReport
report form MyReport to print.....
where the dataenvironment for MyReport is the cursor FileToBeReport generated before.
In the report designer I set the report start the page number for every FieldA groups.
If say, In my report FieldA have 3 instances say A, B, C, After generation of FileToBeReport, say, A need 3 pages, B need 1 pages and C need 2 pages.
Can I place a printing field as 'Page 1 of 3, Page 2 of 3 ....' on the A pages, 'Page 1 of 1' for B, and 'Page 1 of 2....' on C pages??
Is it impossible? if it works, how to do that??
With regards,
Ransome
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only