Three steps for sharing the SubReport variables in the Main Report:
1. Decleared a "Shared" variable in the subreport;
2. Decleared the same "Shared" variable in the main report again, so Crystal Report will recognize the variable;
3. Place the subreport above the main report variable, so Crystal Report will process the subreport first. Get the value, and transfer over to the main report.
Hope this helps.
Feng