Number of Pages in Report
Number of Pages in Report
(OP)
Is there a WF variable that stores the total number of pages in a report? TABPAGENO provides the current page number, but I would like to display something like 'Page x of y' where y is the number of pages in the report.
Thanks,
Sean
Thanks,
Sean
RE: Number of Pages in Report
RE: Number of Pages in Report
(FOC406) THE FIELDNAME IS NOT RECOGNIZED: TABLASTPAGE
Here is a snippit of how I am using it...
FOOTING
"Page <TABLASTPAGE"
I am using WF version 4.3.6. Has TABLASTPAGE been added in a version more recent than that one?
Thanks,
Sean
RE: Number of Pages in Report
RE: Number of Pages in Report
RE: Number of Pages in Report
PRINT TYPE
BY COUNTRY
ON COUNTRY PAGE-BREAK
ON TABLE HOLD
END
-RUN
DEFINE FILE CAR ADD
TPAGE/I6 = &RECORDS;
END
SET PAGE=OFF
TABLE FILE CAR
HEADING
"<TABPAGENO OF <TPAGE PAGES"
PRINT TYPE
TPAGE
BY COUNTRY
ON COUNTRY PAGE-BREAK
END
RE: Number of Pages in Report
TABLE FILE CAR
SUM TYPE
BY COUNTRY
ON COUNTRY PAGE-BREAK
ON TABLE HOLD
END
-RUN
DEFINE FILE CAR ADD
TPAGE/I6 = &LINES;
END
SET PAGE=OFF
TABLE FILE CAR
HEADING
"<TABPAGENO OF <TPAGE PAGES"
PRINT TYPE
BY COUNTRY
ON COUNTRY PAGE-BREAK
END