Report Page Numbers

  • Thread starter Thread starter Ron Allen
  • Start date Start date
R

Ron Allen

Is there a way to get the page number and number of pages for a report
(rdlc) in the designer? I can't seem to find anything that would put this
out in a text box. I'm trying to replicate what an old MS/Access report
shows and I can get just about all the items except calculated page numbers.

Thanks,
Ron Allen
 
Hi Ron,

Thank you for posting.

You could display the page number and number of pages in the header or
footer of a report. To display a page number in the header or footer of a
report, create a text box in the footer and add the following expression:

=Globals.PageNumber & " of " & Globals.TotalPages

For more information, you can refer to
http://msdn2.microsoft.com/en-US/library/ms252093.aspx.

Hope this is helpful to you.
If you have any other concerns or need anything else, please don't hesitate
to let me know.



Sincerely,
Linda Liu
Microsoft Online Community Support

====================================================
When responding to posts,please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
====================================================
 
Thanks, Linda. I guess my problem is that I was trying to use C# syntax
with the page # string. Your version works just fine. Now I just have to
get the queries to sub-select the data working for this demo app.

Ron Allen
 
Hi Ron,

Thank you for your reply. I am glad to hear that the problem has been
fixed. If you have any other question or concerns, please do not hesitate
to contact us. It is always our pleasure to be of assistance.


Sincerely,
Linda Liu
Microsoft Online Community Support

====================================================
When responding to posts,please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
====================================================
 
Back
Top