HardballGets
New Member
- Joined
- Apr 27, 2005
- Messages
- 2
Hi
I have a query that gives me the total sales amount, as well as other information from other tables. But I cant use a crosstab query because I have to use more than one table in the query.
What I want to happen is have a query that returns something like the following
TITLE : | MTD | Month 1 | Month 2 | Month 3 | Month 4
Product1 SALES: | $5302 | $4583 | $5842 | $5833 | $3843
Product2 SALES: | $85309 | $124223 | $131287 | $126210 | $172712
I need it to run this way because I have thousands of products running down.
Can I have Now()-30 in the criteria field in one column and have Between Now()-30 and Now()-60 in the next column and so on???(I know I cant because I've tried it but something along those lines)
Can someone help?
I have a query that gives me the total sales amount, as well as other information from other tables. But I cant use a crosstab query because I have to use more than one table in the query.
What I want to happen is have a query that returns something like the following
TITLE : | MTD | Month 1 | Month 2 | Month 3 | Month 4
Product1 SALES: | $5302 | $4583 | $5842 | $5833 | $3843
Product2 SALES: | $85309 | $124223 | $131287 | $126210 | $172712
I need it to run this way because I have thousands of products running down.
Can I have Now()-30 in the criteria field in one column and have Between Now()-30 and Now()-60 in the next column and so on???(I know I cant because I've tried it but something along those lines)
Can someone help?