|
Subject:
|
shared variable problem
|
|
Posted By:
|
narooma.12
|
Post Date:
|
10/29/2004 11:43:58 PM
|
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
|
|
Reply By:
|
narooma.12
|
Reply Date:
|
11/2/2004 9:45:29 PM
|
Thanks anyway guys, I have worked it out. All I needed to do was put the sub report into the group header not the details section.
Regards
|
|