After duplicating my situation in one of the CR sample Xtreme reports, drill down works fine and the shared variable is not zeroed. The sample uses a MS Access data file. My report accesses a SQL Server db over a VPN connection. Could this be a factor?
All seems to work fine except for this issue. In the main report preview, I can print or use the Shared Variable just fine and it has a non-zero value depending on the field values processed in the subreport that sets it, with none of the sections in the main report hidden. If I hide the details section(not even the section with the formula using the Shared Variable), then upon drilling down to that detail, the Shared Variable value used in a formula in the Group footer immediately following that detail section, goes to a zero value. I know this because I test for it and flag it to avoid a divide by zero or null situation. Its got me stumped. Help please if anyone can. -R-
All seems to work fine except for this issue. In the main report preview, I can print or use the Shared Variable just fine and it has a non-zero value depending on the field values processed in the subreport that sets it, with none of the sections in the main report hidden. If I hide the details section(not even the section with the formula using the Shared Variable), then upon drilling down to that detail, the Shared Variable value used in a formula in the Group footer immediately following that detail section, goes to a zero value. I know this because I test for it and flag it to avoid a divide by zero or null situation. Its got me stumped. Help please if anyone can. -R-