Report with 2 different querys and a few nested groups
Posted: Wed Aug 20, 2008 9:16 am
Hello,
i'm developing a report for a company which sales some articles which are in specified article groups.
My report has to display
- the date
- the customer
- the articlegroup with the amount of sold articles in this group for this day
- a total amount of sold articles for every customer at the end of the customer group (in which are the sold articles)
- and a total amount at the end of the day for every articlegroup which were sold
Now my problem is, that i get in one query all esential information for the first 4 points but now i have to display the total amount of every articlegroup for one day at the end of the active day.
In my second query i tried to get the articlegroups with its total amount of a day and grouped them by the day.
My concern is to display the results of the second query at the end of the day (which is in a group), but this doesn't work because of the upper group isn't connected to the lower one.
So my report shows at the moment all of my grouped articlegroups and their amount at the very end of my report.
I hope somebody has any suggestion how i could solve this problem.
Best regards
ape
i'm developing a report for a company which sales some articles which are in specified article groups.
My report has to display
- the date
- the customer
- the articlegroup with the amount of sold articles in this group for this day
- a total amount of sold articles for every customer at the end of the customer group (in which are the sold articles)
- and a total amount at the end of the day for every articlegroup which were sold
Now my problem is, that i get in one query all esential information for the first 4 points but now i have to display the total amount of every articlegroup for one day at the end of the active day.
In my second query i tried to get the articlegroups with its total amount of a day and grouped them by the day.
My concern is to display the results of the second query at the end of the day (which is in a group), but this doesn't work because of the upper group isn't connected to the lower one.
So my report shows at the moment all of my grouped articlegroups and their amount at the very end of my report.
I hope somebody has any suggestion how i could solve this problem.
Best regards
ape