Hi
I am using CR9
I have a main report that is using group based on the call code.
I have a subreport that calculates the Labour & Parts for each Call (In the subreport there is another group based on the call number). The reason for this is that the Oracle database duplicates events such as the status on an invoice/charge, so the subreport deals with these issue's whilst the main report deals with other issues. This subreport is passing across the corrcet information for each call logged but what I want to do is have a grand total of the Labour field and a grand total of the part field at the bottom of the report
Additional information that may help
The reports are linked together by the call_no
Parameters used (Main Report)
Priority Code
Wildcard Search On Products
Date Range
I believe it is an issue with the linking as I have created a 2nd subreport with the same layout as the 1st report but have created grand summaries. Now if you drop this in the call group it brings that information back no problems but put the subreport in the footer and it just brings back the last call group information.
I have thought of using shared numbervar to bring the information to the main report so that the summary can then be created in the main report,but it's not working for me
I have for example have
subreport
shared numbervar CalloutC :=0;
CalloutC := sum({@Cost_Callout},{CALL.CALL_NUMBER})
main report
shared numbervar CalloutC :=0
but on the main report just displays the first value repeated throughout the entire report.
Any Ideas much appriciated
Kind Regards
Stephen
I am using CR9
I have a main report that is using group based on the call code.
I have a subreport that calculates the Labour & Parts for each Call (In the subreport there is another group based on the call number). The reason for this is that the Oracle database duplicates events such as the status on an invoice/charge, so the subreport deals with these issue's whilst the main report deals with other issues. This subreport is passing across the corrcet information for each call logged but what I want to do is have a grand total of the Labour field and a grand total of the part field at the bottom of the report
Additional information that may help
The reports are linked together by the call_no
Parameters used (Main Report)
Priority Code
Wildcard Search On Products
Date Range
I believe it is an issue with the linking as I have created a 2nd subreport with the same layout as the 1st report but have created grand summaries. Now if you drop this in the call group it brings that information back no problems but put the subreport in the footer and it just brings back the last call group information.
I have thought of using shared numbervar to bring the information to the main report so that the summary can then be created in the main report,but it's not working for me
I have for example have
subreport
shared numbervar CalloutC :=0;
CalloutC := sum({@Cost_Callout},{CALL.CALL_NUMBER})
main report
shared numbervar CalloutC :=0
but on the main report just displays the first value repeated throughout the entire report.
Any Ideas much appriciated
Kind Regards
Stephen