October 14, 2010, 11:50 PM
Ankush[CLOSED] output like this
car model retail_cost
c1 m1
m2
m3
subtotal 20000
only need to print subtotal not values in column
This message has been edited. Last edited by: Kerry, October 15, 2010, 12:00 AM
WazHow nice for you.........
Oh, you want to have a report that only has the subtotal ?
How about this.
TABLE FILE CAR
SUM RETAIL_COST NOPRINT
BY CAR
BY MODEL
ON CAR SUBFOOT
"Total: <ST.RETAIL_COST "
END
October 15, 2010, 12:32 AM
Ankushhi thanksfor ur rpl. but in added to that i also need to print retail_cost column with out any values
October 15, 2010, 01:16 AM
WazAh, this is a case where you need to fire up the grey matter.
e.g.
TABLE FILE CAR
SUM RETAIL_COST NOPRINT
COMPUTE RETAIL_COST/D7S = 0 ;
BY CAR
BY MODEL
ON CAR SUBFOOT
"Total: <ST.RETAIL_COST "
END
If you need the total to align up with the column, then have a look in the documentation for HEADALIGN for HTML or EXCEL, and POSITION for PDF.