Hi
I have a membership directory where some records are a single page and some are 2 pages. I want it to print double sided, with each new member's record starting on the Right hand page (odd # page). So a 2 page record would print front/back, and the next record printing as I want, on the next odd page. A one page record, should force a new page so that the following record will NOT print on the back of the one page record, but would appear on the next odd page. In the situation of a one page record, we need a page break.
I have searched the forum for the text of the code to be used, and it didn't work. Probably because I now NOTHING about programming. It's not clear to me whether I should put the page break symbol in the footer, or in the detail section, or no where. Where would the code go? In the detail section, or the page footer? This is the code I used (in both sections)
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
If Me.Page Mod 2 > 0 Then
Me.PageBreakX.Visible = False
Else
Me.PageBreakX.Visible = True
End If
End Sub
When I tried Print Preview, I got an error code : "Method or Data Member Not Found". I have no idea what to do.
Thanks in advance for any help you can provide
I have a membership directory where some records are a single page and some are 2 pages. I want it to print double sided, with each new member's record starting on the Right hand page (odd # page). So a 2 page record would print front/back, and the next record printing as I want, on the next odd page. A one page record, should force a new page so that the following record will NOT print on the back of the one page record, but would appear on the next odd page. In the situation of a one page record, we need a page break.
I have searched the forum for the text of the code to be used, and it didn't work. Probably because I now NOTHING about programming. It's not clear to me whether I should put the page break symbol in the footer, or in the detail section, or no where. Where would the code go? In the detail section, or the page footer? This is the code I used (in both sections)
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
If Me.Page Mod 2 > 0 Then
Me.PageBreakX.Visible = False
Else
Me.PageBreakX.Visible = True
End If
End Sub
When I tried Print Preview, I got an error code : "Method or Data Member Not Found". I have no idea what to do.
Thanks in advance for any help you can provide
