I have a subreport that fires correctly, and produces results that are properly returned to the main report. In the main report, however, a formula needs to know whether the subreport fires at all (the subreport returns a shared variable which the formula tests). Apparently, the formula in the main report fires before the subreport, so it always appears that the subreport hasn't fired. Can I control when the subreport fires? Or, can I force the formula to evaluate after the subreport executes? The 'evaluateAfter' function seems to be the right idea, but I don't see how to use a subreport name in the evaluateAfter function.
Thanks for the help.
John