M
MKMurphy
My report is based on a query. In the details section I have two query
fields, price and quantity. I also have a calculated field, txtLineTotal,
that multiplies price times quantity. My records are grouped by Supplier
then Material then Destination. Everything works great. However, I also
need to subtotal the txtLineTotal per group. in Access 2003 I created a
txtSumLineTotalPerSupplier {or Material or Destination as needed that was the
=Sum(txtLineTotal)} and placed that in a Group Header or Footer section. In
2007 I set the Data propery Running Sum of the txtLineTotal to Over Group
instead of creating a txtbox equal to the sum of a field. Problem is, it is
not properly summing all the records in each group. I can't even find a
pattern of incorrectness. Also, does it matter if I place the Running Sum
field in the header or the footer? I have it in the Header for the Suppler
and Material, but the footer for the Destination.
thanks for sharing your wisdom!!
MKMurphy
fields, price and quantity. I also have a calculated field, txtLineTotal,
that multiplies price times quantity. My records are grouped by Supplier
then Material then Destination. Everything works great. However, I also
need to subtotal the txtLineTotal per group. in Access 2003 I created a
txtSumLineTotalPerSupplier {or Material or Destination as needed that was the
=Sum(txtLineTotal)} and placed that in a Group Header or Footer section. In
2007 I set the Data propery Running Sum of the txtLineTotal to Over Group
instead of creating a txtbox equal to the sum of a field. Problem is, it is
not properly summing all the records in each group. I can't even find a
pattern of incorrectness. Also, does it matter if I place the Running Sum
field in the header or the footer? I have it in the Header for the Suppler
and Material, but the footer for the Destination.
thanks for sharing your wisdom!!
MKMurphy