shared variable problem
Hi Guys,
Hope someone can help me with this one.
Using Crystal Reports v8.5 with Oracle.
I have set up a formula in a subreport called @labcost. The formula is as follows
whileprintingrecords
shared numbervar labhour := Sum ({@labcost},{filename})
In my main report I have created a formula named @labour. It reads as follows
whileprintingrecords
shared numbervar labhour;
My problem is that the shared variable is printing on the group below the one it belongs to. I am also trying to add the shared variable to a material cost on the main report but until I can match it to the correct group I cannot do it.
Could somebody please help I would very much appreciate it.
Regards,
narooma
|