I have a report that displays the page numbering incorrectly. Example page 1 of 3 but only 2 pages are displayed when previewing or printing the report. Here is the details:
Page footer - text box with control source as:
="Page" & [Page] & " of " & [Pages]
There is a group header with the following code in the OnFormat property: linecnt = 0
Group Footer OnFormat property:
Not sure if this code helps. Any thoughts would be helpful on why the page counter says 3 pages instead of 2?
Thanks!
Page footer - text box with control source as:
="Page" & [Page] & " of " & [Pages]
There is a group header with the following code in the OnFormat property: linecnt = 0
Group Footer OnFormat property:
Code:
If linecnt = 1 Then
DoCmd.CancelEvent
End If
Thanks!
Comment