December 20, 2006, 07:15 AM
Code DiggerSuppressing the word 'TOTAL*' in the subtotal
When we need to show a subtotal, the subtotal row gets displayed indicated by the word 'TOTAL*'. How do we suppress the word 'TOTAL*'. It is required that the label 'SUBTOTAL' needs to be shown irrespective of the value of the sort field.
December 20, 2006, 07:37 AM
Tony ACD,
Do you mean this?
TABLE FILE CAR
SUM RCOST
DCOST
BY COUNTRY
BY CAR
-*ON COUNTRY SUBTOTAL DCOST AS 'Subtotal for '
ON COUNTRY SUMMARIZE DCOST AS 'Subtotal for '
ON TABLE NOTOTAL
END
-RUN
Use either "subtotal" or "summarize" to effect the same outcome.
T