I have a simple ACCESS application that outputs a text file in a particular (odd) format required for importing into another application.
The output file has Header and Detail records. The Header contains information on customer code and order number while the following Detail records have information on products codes, descriptions, and qty shipped.
I need to sub total the qty shipped field on the Detail records for each new order number. i.e. after the last detail record for that Order Number and before the Header record for the next Order Number.
I have managed to have a grand total of Qty Shipped for the whole report, but cannot find a way to include a sub-total for each set of Detail records. Unfortunately I don't have any choice about the format of the file contents.
Is there any way of creating sub-total with more complex criteria?
Any help with this would be greatly appreciated.
The output file has Header and Detail records. The Header contains information on customer code and order number while the following Detail records have information on products codes, descriptions, and qty shipped.
I need to sub total the qty shipped field on the Detail records for each new order number. i.e. after the last detail record for that Order Number and before the Header record for the next Order Number.
I have managed to have a grand total of Qty Shipped for the whole report, but cannot find a way to include a sub-total for each set of Detail records. Unfortunately I don't have any choice about the format of the file contents.
Is there any way of creating sub-total with more complex criteria?
Any help with this would be greatly appreciated.