I have a report in Access 2013 which groups the records from a query and prints each group to a separate page. Is there a way in VBA of finding out on which page each of the records will get printed?
EDIT - added these details from the comments:
The report will be anything from 1-5 pages. We were going to include the page number in the reference which gets printed on each page, e.g. "CN001-x" where the x would be the page number. We would then store that value back in a table in the database.
The report applies grouping to the data and creates a new page after every group and each page will have a variable number of records.