crystal reports shared variable works until i try to add it to a another field
i have a report that is made up of 3 subreports. the subreports run for each detail line of the main report. They are located in the detail a, detail b, and detail c sections. Each of these subreports display a bunch of details and then create a shared variable that is passed back to the main report. This shared variable will display on the detail d section but if I try to add it to another field from the main report it turns to 0. Not sure why this is happening.
I am using the following code to assign and display the shared variable