The code runs to the fifth record and moves the additional records to a second page. But it pushes my footer to page 2, which I would like to remain on page 1 and appear on page 2.
I would like to take it further by carrying everything over from the first page to the second including the Report Header, Page Header, Detail, and Report Footer. On page two, it would display the remaining records under the same format as page 1.
Is this possible? Would I have to do each On Format for the Report Header, Page Header, etc.?
I would like to take it further by carrying everything over from the first page to the second including the Report Header, Page Header, Detail, and Report Footer. On page two, it would display the remaining records under the same format as page 1.
Is this possible? Would I have to do each On Format for the Report Header, Page Header, etc.?
Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If [TxtCount] Mod 5 = 0 Then
Me.Detail.ForceNewPage = 5
Else
Me.Detail.ForceNewPage = 0
End If
End Sub