I have a SSRS 2005 report that of course does not easily handle getting a dataset value in the header of the report. SSRS 2008 handles this but we had to do a work around and create a SET function in the code and then using public shared variable to write the value to a textbox in the header. It is not easily reproducible but on occassion the shared variable seems to lose scope when exporting the report to PDF. Does anyone know a better way to handle this or is there another method like Friend etc. that is needed?
Thanks for any information. We are also looking at hidden params and hashtable but the more options we have the better.