"Global" variables in ReportViewer RRS feed

  • Question

  • Hi, I've been trying to find a way to evaluate the current page locations where my subreports start, but I'm having a hard time doing so.  I know that I can calculate the current report page using the code below.


    HOWEVER, you cannot reference this from anywhere within the report's Body. You can only use Global variable from within the Header or Footer of a report...go figure - how useful!

    Has anyone found a workaround for this? I even tried writing a Function and calling it from a Label located within the report Body and still...you get an error message that tells you you cannot do that. It can only be called from the Header or Footer. There has to be some work-around...does anyone have anything that might work?

    Thursday, August 6, 2009 10:34 PM