Hi,
I have a report that uses a subreport to calculate a field based on the existance (or not) of data in a database other than the main report database. When I use a shared variable to pass this field back to the main report and display it on a detail line (in the main report), it works fine - until I try to export the report to Excel. When exported, the value that gets exported on all detail lines of the report is the final non-blank value of the shared variable, not the value that it contained when the detail line was initially generated. I am using a shared variable because there are multiple values that I want to pass back to the main report.
Luckily, only one of the shared variables are being printed, so the workaround that I am using is to use the subreport to print the field instead of passing the value back in a shared variable and displaying that (and hiding the subreport on a separate format).
Is this a known issue with R3 exporting to Excel? (It was happening in R2 as well...)
HTH,
Carl