Microsoft Reporting Services how to create dynamic headers
<p>I want to setup a dynamic header which should look different on the following pages. I tried to setup a page counter with a simple function in the header which increments a public var.</p>

<p>But when using a filter to determine the page number, it's not working. Only the first result is leading and from what I understood so far is that the first result is just copied onto the following pages. All functions within the header element are only executed once and copied afterwards.</p>

<p>does anybody know workaround to solve the problem?</p>

<p><a href="http://i.stack.imgur.com/y5pFI.png" rel="nofollow">Example</a></p>