Hi,
I want to create a report showing 'From:' [date_posted] 'To:' [date_posted].
The users will enter: ex: 12-01-01 and 12-20-01 which exist in the main_tbl to inquire info in that time frame.
This is the query:
SELECT location, sum (amount)
FROM main_tbl
WHERE [date_posted] between [Enter Beginning Date] and [Enter Ending Date]
GROUP BY location
ORDER BY sum (amount) DESC;
If you put it in Access, it'll work fine... but I can't have the dates (from...to...) shown on report as stated above.
Is my question clear?
Pls show me.
Thank you very much.
Happy Holidays!!!
I want to create a report showing 'From:' [date_posted] 'To:' [date_posted].
The users will enter: ex: 12-01-01 and 12-20-01 which exist in the main_tbl to inquire info in that time frame.
This is the query:
SELECT location, sum (amount)
FROM main_tbl
WHERE [date_posted] between [Enter Beginning Date] and [Enter Ending Date]
GROUP BY location
ORDER BY sum (amount) DESC;
If you put it in Access, it'll work fine... but I can't have the dates (from...to...) shown on report as stated above.
Is my question clear?
Pls show me.
Thank you very much.
Happy Holidays!!!