I have to create a report for a gallery shop that outputs daily sales. The trouble I am having is adding the subtotal for a receipt to the shipping costs.
If I create a report without a subreport then the shipping is added in to each item of the receipt (so if there are 3 items sold and shipping was $10, I am getting a total of $30 for shipping).
If I use a sub-report for the details then I can get the shipping to add up correctly, and I can get the subtotal off of each individual receipt, but I can add those subtotals together properly nor can I add the shipping in to the subtotals.
I access the subtotal from the subreport with the following syntax in the control source of a textbox on the main report =[Report]![sbrptSalesDetails]![Subtotal]. If I try to sum either on the textbox name or directly from the subreport, I get an enter parameter value message.
The attached excel sheet is a simplified version of what I want to be able to see and add up.