I have the opposite of the problem everyone else seems to have with blank pages, i.e. I want one and Access isn't giving it to me
The issue is that I need a report to have an odd number of pages. (The reason for this is that the report is going to be printed double-sided, stapled, and given out to people to fill out by pen. After they do so and give it back to us, the last page of the report then needs to be separated and dealt with separately.)
The footer already has "Force New Page - Before Section" set. In order to force another new page if needed, I began the footer with a page break called "OddNumberofPagesPageBreak", and wrote this code:
This looks like I want it to in print preview... but it doesn't print out that way! The blank page is ignored on printout.
Help, please??
The issue is that I need a report to have an odd number of pages. (The reason for this is that the report is going to be printed double-sided, stapled, and given out to people to fill out by pen. After they do so and give it back to us, the last page of the report then needs to be separated and dealt with separately.)
The footer already has "Force New Page - Before Section" set. In order to force another new page if needed, I began the footer with a page break called "OddNumberofPagesPageBreak", and wrote this code:
Code:
Private Sub ReportFooter_Format(Cancel As Integer, FormatCount As Integer)
Dim PageCount As Integer
PageCount = [Reports]![CourseEvalForm].[Page]
If (PageCount Mod 2) = 1 Then Me.OddNumberofPagesPageBreak.Visible = False
End Sub
This looks like I want it to in print preview... but it doesn't print out that way! The blank page is ignored on printout.
Help, please??
Last edited: