How to use Easytrieve to get sub totals and a grand total on an amount field in a report
Choose one or more non-quantitative fields that you want sub-totaled.
Code a SEQUENCE statement followed by the field names of the fields you want sorted and totaled. Finally, code a CONTROL statement followed by the fields you want totaled.