how do i get pagenumber and total pages when i try to put on the page header i get error:
=Globals.PageNumber & " of " & Globals.TotalPages
error:
[rsPageNumberInBody] The Value expression for the textbox ‘textbox17’ refers to the global variable PageNumber or TotalPages. These global variables can be used only in the page header and page footer.
Build complete -- 1 errors, 0 warnings
any help please

=Globals.PageNumber & " of " & Globals.TotalPages
Paarul
deen
thank you, i understood what you were trying to ask and i fixed that. :)
phani kumar ---help me out
Hiya!!
I dont know if this has been solved, or if this will help but try the following...
= Globals!PageNumber & " of " & Globals!TotalPages
Hope it helps!!
bharathi_tunes
Hello Turkaum,
First you need to have the Page Header/Footer showing, then you can add items to it. To show it, right click in the pale yellow area of the Layout view. Then select Page Header and/or Page Footer, this will create another section on your report where you can add items. Or, you can go to the Report menu option and enable the Page Header/Footer from there.
Hope this helps.
Jarret
mindstorms
Narasamdya
it’s ok now..
Thx Jarret.
jrad
yes sir, here is the error message im getting.
Error 1 [rsPageNumberInBody] The Value expression for the textbox ‘textbox16’ refers to the global variable PageNumber or TotalPages. These global variables can be used only in the page header and page footer. c:\visual studio 2005\projects\myreportproj\Name.rdl 0 0
xpyrofuryx
Are you sure your textbox is in the page header region of the report layout The textbox expression should have this:
Jarret
aquaseal
How can i do to change these something
When i did this test, in my context menu appear "Select Body" and i don’t know how to do to display "Select 'Page Header'" or "Select 'Page Footer'"...
anybody help me
Turkaum
Deepu_a
myGreenBird,
Can you do something for me real quick
Right click on the textbox where you have your expression for the page number and total pages. Do you see "Select 'Page Header'" or do you see "Select 'Body'" in the context menu that pops up
Jarret