Posted 7 December 2022, 1:55 pm EST
Well, wouldn’t you know it, it suddenly started working. No idea how or what was causing it not to work, but now the pages are numbered correctly from 1 to n records. I’m baffled because I didn’t really do anything. I was trying different things to see the effect and I set everything back to the original code you provided and now it works. No clue. Another thing that I find to be extremely frustrating. I have to KNOW what was wrong, but I suspect that I won’t lose much sleep over it. Sigh …
Well, I did add one line of code in the detail format section, see below:
Private Sub Detail_Format(sender As Object, e As EventArgs) Handles Detail.Format
Label_Pagenumber.Text = "Page 1 of 7"
Mypagenumber = 1
End Sub
But that’s it, just the one line. everything else is the same.
Just so you know, I’m using Visual Studio 2013 and Active Reports v11, not that it should matter much in respects to the event order I suspect, I do have Visual Studio 2022 but Active Reports v11 doesn’t work with that version and I can’t justify the upgrade cost, so that’s what I’m stuck with.
R/
Prescott …