Hi everyone,
I am creating a query that shows a list of all invoices raised in the last month which shows the date on which they were raised along with the amounts. Each invoices has it's own ID, but there may have been more than one invoice raised to send to the same company for different amounts, i.e.
What I do is run a report showing invoices raised between manually input parameter dates and I have a text box that totals the sums up and lists the total amounts for each company, i.e. ABC Ltd - Amount raised £75.
How do I list the report in order of the company that has had the most invoices raised against it in that period?
I have tried doing a sum on the amounts field on the query and grouping by things but it makes no difference to the outcome of the query which still displays as above. I think it may be something to do with the fact that it has unique invoice ID's or something but that is just a guess really.
Hope this makes sense.
Thanks for your help.
Gareth.
I am creating a query that shows a list of all invoices raised in the last month which shows the date on which they were raised along with the amounts. Each invoices has it's own ID, but there may have been more than one invoice raised to send to the same company for different amounts, i.e.
Code:
Invoice ID-------Amount------Date Raised-------Company
1 £55 01/02/2008 ABC Ltd
2 £300 09/02/2008 XYZ Ltd
3 £20 10/02/2008 ABC Ltd
4 £70 04/02/2008 DEF Ltd
How do I list the report in order of the company that has had the most invoices raised against it in that period?
I have tried doing a sum on the amounts field on the query and grouping by things but it makes no difference to the outcome of the query which still displays as above. I think it may be something to do with the fact that it has unique invoice ID's or something but that is just a guess really.
Hope this makes sense.
Thanks for your help.
Gareth.
Comment