I would have loved if there was a function for the current page and total pagecount ( f.e. page 3 of 16 ) for a pdf report that consists of multiple layouts appended
You may be able to achieve this by creating an unstored calc that adds a $var to the get function. Update the $var before changing layouts. I did not attempt this, you would have to do your own testing.
Like so many things these days, this nearly works. Unfortunately Get(PageCount) behaves slightly different to Get(PageNumber) - tested on Windows, I’ve not tried this on a Mac as yet.
Understandably, both display a ‘?’ in browse mode, but whereas Get(PageNumber) displays correctly in Preview mode, Get(PageCount) still displays ‘?’. If you want to display the preview properly, then revert back to the global variable/go to last record technique.
All’s fine when finally printing or saving as a PDF.