My main report contains contract info that I need, but not the full details of costs & sales. As I need parameters on document date ranges, I am using one sub-report to calculate costs and another to calculate sales & am returning totals to the main report via shared variables.
Both subreports are in the group header of the main report and both use the same SQL View 'CcsUnionVwActualCostsandRevenue'.
The main table (Ccs-Quotes) links to the 2 sub reports, on Ccs_Quotes_Quo_Number (which is the quote URN) to the sub-report View equivalent field.
My problem is that if there are no sales in the period, no costs are returned. This is exactly what I was trying to avoid by using 2 sub-reports.
Am I stymied by having them both link on the same field? (I am that dangerous person who knows enough to use CRW but doesn't quite understand what it is doing, so I should be grateful for any help, folks.)
Both subreports are in the group header of the main report and both use the same SQL View 'CcsUnionVwActualCostsandRevenue'.
The main table (Ccs-Quotes) links to the 2 sub reports, on Ccs_Quotes_Quo_Number (which is the quote URN) to the sub-report View equivalent field.
My problem is that if there are no sales in the period, no costs are returned. This is exactly what I was trying to avoid by using 2 sub-reports.
Am I stymied by having them both link on the same field? (I am that dangerous person who knows enough to use CRW but doesn't quite understand what it is doing, so I should be grateful for any help, folks.)