Print the specific (group in this case) section if the grouping has changed for the field XXXXX (so the value of XXXXX has changed from the previous record(Grouping).
So:
If you have a sorting like "Order Date", "Customer No." you can add two group footer sections and print the one when the customer changes and the other when the order date has changed, thus having totals by customer and totals by Order date.
Comments
CurrReport.SHOWOUTPUT := Value or
CurrReport.SHOWOUTPUT(value) allows you to control weather the section will be printed.
If you select a specific key for the dataitem and set the GroupTotal fields then with
CurrReport.SHOWOUTPUT := CurrReport.TOTALSCAUSEDBY=fieldno(XXXXX)
you say:
Print the specific (group in this case) section if the grouping has changed for the field XXXXX (so the value of XXXXX has changed from the previous record(Grouping).
So:
If you have a sorting like "Order Date", "Customer No." you can add two group footer sections and print the one when the customer changes and the other when the order date has changed, thus having totals by customer and totals by Order date.