The (reduced) table structure is as follows:
Company Address Prov Item Qty ItemCost Total Month
------------------------------------------------------------------
ABC 1 First ON A101 2 10.50 21.00 May
ABC 1 First ON B321 2 2.00 4.00 May
ABC 1 First ON Z372 3 5.00 15.00 Jun
ABC 1 First ON Z372 1 5.00 5.00 Jul
ABC 1 First ON y563 2 1.00 2.00 Jul
.
.
.
The table has multiple companies in it though. The output that I'm looking for shows the company info, total for each month and the grand total. Ex:
Company Address Prov MayTotal JunTotal JulTotal GrandTotal
--------------------------------------------------------------------
ABC 1 First ON 25.00 15.00 7.00 47.00
.
.
.
Thanks in advance!
Company Address Prov Item Qty ItemCost Total Month
------------------------------------------------------------------
ABC 1 First ON A101 2 10.50 21.00 May
ABC 1 First ON B321 2 2.00 4.00 May
ABC 1 First ON Z372 3 5.00 15.00 Jun
ABC 1 First ON Z372 1 5.00 5.00 Jul
ABC 1 First ON y563 2 1.00 2.00 Jul
.
.
.
The table has multiple companies in it though. The output that I'm looking for shows the company info, total for each month and the grand total. Ex:
Company Address Prov MayTotal JunTotal JulTotal GrandTotal
--------------------------------------------------------------------
ABC 1 First ON 25.00 15.00 7.00 47.00
.
.
.
Thanks in advance!