techkenny1
Technical User
Hi
I have created a crosstab query to pull debtors from a list of companies.This is then exported to Excel.
The problem i have is that it only shows 12 months. So I get Sep09 to Aug 1o. What I requires is for it to got from July 09 to Aug 10.
Here is the sql code for the query;
How can i get it to show the extra 2 months
Thanks
kp
I have created a crosstab query to pull debtors from a list of companies.This is then exported to Excel.
The problem i have is that it only shows 12 months. So I get Sep09 to Aug 1o. What I requires is for it to got from July 09 to Aug 10.
Here is the sql code for the query;
Code:
TRANSFORM Sum(Accounts08.InvoiceTotal) AS SumOfInvoiceTotal
SELECT Accounts08.Companyname, Sum(Accounts08.InvoiceTotal) AS Total
FROM Accounts08
WHERE (((Accounts08.ACS) In ("Invoiced")))
GROUP BY Accounts08.Companyname
PIVOT Accounts08.Month;
Thanks
kp