none
Globals!PageNumber RRS feed

  • Question

  • Hi

    I have make a table in a report , in this table i have header - Detail - Footer
    Then i trye to have a =Globals!PageNumber in my footer, but get this error:

    Error 1 The Value expression for the textbox ‘textbox1’ refers to the global variable PageNumber or TotalPages.  These global variables can be used only in the page header and page footer. 

    So how can i have a Globals!PageNumber on each side of my report

    regards

    alvin


    ALK
    Wednesday, September 3, 2008 8:27 PM

Answers

  •  Alvin,
     
    Page headers and footers are different than table headers and footers. Add page headers and footers by clicking the Report -> Header and Report -> Footer menu items. This content will show up on the top and bottom of every page and can display the PageNumber global variable.
    Nick Allen, Microsoft SQL Server Reporting Services
    • Proposed as answer by Nick Allen Wednesday, September 3, 2008 8:38 PM
    • Marked as answer by Alvin Kuiper Wednesday, September 3, 2008 8:49 PM
    Wednesday, September 3, 2008 8:38 PM

All replies

  •  Alvin,
     
    Page headers and footers are different than table headers and footers. Add page headers and footers by clicking the Report -> Header and Report -> Footer menu items. This content will show up on the top and bottom of every page and can display the PageNumber global variable.
    Nick Allen, Microsoft SQL Server Reporting Services
    • Proposed as answer by Nick Allen Wednesday, September 3, 2008 8:38 PM
    • Marked as answer by Alvin Kuiper Wednesday, September 3, 2008 8:49 PM
    Wednesday, September 3, 2008 8:38 PM
  • Sorry i'm not so good, and maybe a little bit slow
    i can't find out where to add a footer or a header in my rapport
    shall it bee in my form (vb) where i have the report or in the report ( rdlc)

    Alvin

    ALK
    Wednesday, September 3, 2008 8:47 PM
  • sorry sorry
    i have found it . many thanks for your help.


    Alvin

    ALK
    Wednesday, September 3, 2008 8:49 PM