Hi there, I'm looking for help with a problem I have. using SQL and Crystal 8.5. I have a report that is basically a quote. I have grouped the report by the product type and currently it works fine and looks a little like this....
Hardware (Group 1)
Item Item Name Unit Price Qty Total
1 Big Spring 1000 2 2000
2 Bigger Spring 2000 1 2000
Total £4000
Software (Group 1)
Item Item Name Unit Price Qty Total
1 Bug riddled 100 1 100
2 Bug Riddled 2 2000 1 2000
Total £2100
Ok so the grandtotal would be £6100. However, in the report footer they want a summary....
Hardware = £4000
Software = £2100
Total = £6100
Apart from doing a cross tab I can't see how I would do this. However, I cannot do a cross tab as I have a seperate field I need to display and add into the total, so I cannot use the Grand total sum for the Total = £6100, it would have to be a collection of formulas.
I can't think how to do this, as I'd like
Formula1 (hardware)
Formula2 (Software)
Formula3 (Other field I need adding)
Grand Total (formula1+Formula2+other field I need adding)
I'm sure it's probably done via variables but haven't a clue. Any help would be very much appreciated.
Hardware (Group 1)
Item Item Name Unit Price Qty Total
1 Big Spring 1000 2 2000
2 Bigger Spring 2000 1 2000
Total £4000
Software (Group 1)
Item Item Name Unit Price Qty Total
1 Bug riddled 100 1 100
2 Bug Riddled 2 2000 1 2000
Total £2100
Ok so the grandtotal would be £6100. However, in the report footer they want a summary....
Hardware = £4000
Software = £2100
Total = £6100
Apart from doing a cross tab I can't see how I would do this. However, I cannot do a cross tab as I have a seperate field I need to display and add into the total, so I cannot use the Grand total sum for the Total = £6100, it would have to be a collection of formulas.
I can't think how to do this, as I'd like
Formula1 (hardware)
Formula2 (Software)
Formula3 (Other field I need adding)
Grand Total (formula1+Formula2+other field I need adding)
I'm sure it's probably done via variables but haven't a clue. Any help would be very much appreciated.