I have a one page report that when printed individually prints Page 1 of 1 just fine.
I use a multi-select list box to print several of these report at one time with this code.
Problem is that the subsequent reports say Page 2 of #, Page 3 of # etc. I want them to all say Page 1 of 1 unless it actually becomes a 2 pager.
Putting
in a group footer didn't seem to work.
Any thoughts
I use a multi-select list box to print several of these report at one time with this code.
Code:
For Each varItem In Me.lbo_PrintSelectWells.ItemsSelected
strList = strList & ",'" & Me.lbo_PrintSelectWells.Column(0, varItem) & "'"
Next varItem
strList = Mid$(strList, 2)
stLinkCriteria = "[API] IN (" & strList & ")"
Debug.Print stLinkCriteria
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
End If
Problem is that the subsequent reports say Page 2 of #, Page 3 of # etc. I want them to all say Page 1 of 1 unless it actually becomes a 2 pager.
Putting
Code:
="Page " & [Page] & " of " & [Pages]
Any thoughts