G
Geoff Taylor
I have currently designed a report that prints students academic reports.
Each student is defined by SKEY and each student has a number of subject
records defined by SUKEY.
The report prints a general summary page in the SKEY header and 8 to 14
subject pages in the detail.
Report Header
Page Header
SKEY Header
(subreport - summary page)
Detail (9 to 14 SUKEY pages)
SKEY Footer
Page Footer
Report Footer
The need I have, is to ensure that the report for each SKEY ends up as an
even number of pages.
This is so that the reports can be printed duplexed (both sides of the
paper) on a networked photocopier.
When the current version prints, and the report prints with an odd number of
pages per student, then the start of the next record will print on the back
of the last page of the the student's report.
So far, I have an expression in the SKEY footer that correctly determines
that the number of pages is odd or even. This because I am using a routine
that prints "page x of y" in the Page footer. I have a variable [page] that
is equal to the number of pages that print for each SKEY.
I can use
If ( [Page] Mod 2) = 1 then ....
--
Geoff Taylor
IT Manager
Carine Senior High School
Western Australia
How can I get this expression to print an extra blank page when the last
page is odd?
Each student is defined by SKEY and each student has a number of subject
records defined by SUKEY.
The report prints a general summary page in the SKEY header and 8 to 14
subject pages in the detail.
Report Header
Page Header
SKEY Header
(subreport - summary page)
Detail (9 to 14 SUKEY pages)
SKEY Footer
Page Footer
Report Footer
The need I have, is to ensure that the report for each SKEY ends up as an
even number of pages.
This is so that the reports can be printed duplexed (both sides of the
paper) on a networked photocopier.
When the current version prints, and the report prints with an odd number of
pages per student, then the start of the next record will print on the back
of the last page of the the student's report.
So far, I have an expression in the SKEY footer that correctly determines
that the number of pages is odd or even. This because I am using a routine
that prints "page x of y" in the Page footer. I have a variable [page] that
is equal to the number of pages that print for each SKEY.
I can use
If ( [Page] Mod 2) = 1 then ....
--
Geoff Taylor
IT Manager
Carine Senior High School
Western Australia
How can I get this expression to print an extra blank page when the last
page is odd?