SSRS: Reports!Items not updating in a header

Want to know if someone has run into this issue.

I have a textbox that gets dynamic data in a header by an expression with a ReportItems!txtBox.Value that is within a group below. When viewing the report, the header updates correctly, however when I print the report, the same header gets the first value but doesn’t update.

I know and understand that the data is rendered differently depending on whether it prints or previews

Does anyone know how to get this to work, any workaround, or point me in a direction?

In Header, Expression = Code._YourFunctionOutputVar
In the Body = Code.YourFunctionThatSetsVarValue(with inputs)

1 Like

That worked. I’ll have to change my report formatting to use the report header vice the table header.
Thanks for your help.

You are welcome, glad you found it useful.