Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing First and Last Page Numbers for Report Groups.

Status
Not open for further replies.

jmstarbuck

Programmer
Aug 11, 2003
90
US
In an old thread (thread703-1563912) dhookom (Programmer) posted this link to code for keeping track of page numbers by group in a report:
This looks like just what I need, but I am having problems.

Me.Pages is always = 0 for me, so I don't get the page counts. Is there something I need to define in my report for this to work? Is this supported by Access 2003?

I've really never tried to do anything with code behind a report before, so any help would be appreciated.

Thanks.
 
Update, The good news: I added a reference to [pages] to my report and now the me!pages is working.

The bad news: Now I am getting subscript out of range on both arrays - on the first and subsequent pages.

Any thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top