G
Guest
How can I re-set the number after each group on my many paged report?
Thank you
Ross
Thank you
Ross
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
How can I re-set the number after each group on my many paged report?
Thank you
Ross
fredg said:How can I re-set the number after each group on my many paged report?
Thank you
Ross
See:
"Printing First and Last Page Numbers for Report Groups "
http://www.mvps.org/access/reports/rpt0013.htm
Things to make sure of:
1) Add a control to the page Footer that computes [Pages]
= [Pages]
You can make this control not visible if you wish.
2) Add an unbound control to the Page Footer.
Name this control "ctlGrpPages"
3) Paste the code into the Page Footer Format event.
4) In the code, change Me!Salesman to
Me![Name of the control used to group by]
fredg said:How can I re-set the number after each group on my many paged report?
Thank you
Ross
See:
"Printing First and Last Page Numbers for Report Groups "
http://www.mvps.org/access/reports/rpt0013.htm
Things to make sure of:
1) Add a control to the page Footer that computes [Pages]
= [Pages]
You can make this control not visible if you wish.
2) Add an unbound control to the Page Footer.
Name this control "ctlGrpPages"
3) Paste the code into the Page Footer Format event.
4) In the code, change Me!Salesman to
Me![Name of the control used to group by]
Fred,
I ran into a problem with the code. The code is not able to recognize the
second page of the first group. For example, If my groups are G1 (2 Pages)
and G2 (3 Pages) (Total of 5 Pages) Here is what I get.
Get SB
G1 1 of 1 1 of 2
G1 1 of 4 2 of 2
G2 2 of 4 1 of 3
G2 3 of 4 2 of 3
G2 4 of 4 3 of 3
The code can't recognize the second page of the G1.
Do you have any ideas!
fredg said:How can I re-set the number after each group on my many paged report?
Thank you
Ross
See:
"Printing First and Last Page Numbers for Report Groups "
http://www.mvps.org/access/reports/rpt0013.htm
Things to make sure of:
1) Add a control to the page Footer that computes [Pages]
= [Pages]
You can make this control not visible if you wish.
2) Add an unbound control to the Page Footer.
Name this control "ctlGrpPages"
3) Paste the code into the Page Footer Format event.
4) In the code, change Me!Salesman to
Me![Name of the control used to group by]
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.