May 2 2006, 11:06 PM
Is there a way that I can setup a quarterly and monthly query based on field, such as department and a date?
Here's my problem..
I have a one to many relationship with my one table that has id, fname, lname, lanid, and department for fields. My many table has dateid, id, lanid, date, and month. I have departments, such as Accounting and Financial mgt that need to be queried quarterly based on the department, date, and month and other departments, such as logistics queried monthly based on the department, date, and month. What would be the most effective way of extracting the data?
May 2 2006, 11:53 PM
May 5 2006, 10:00 PM
Thank you. I looked the website and cannot find anything relating to querying for quarters I want to use it to set up quarterly reports for certain departments.
May 6 2006, 02:14 PM
Try this. Might be what you need.
May 6 2006, 05:43 PM
Use the query with you date and format it for month,quarter etc. If you need help with that let me know
Basically you need to use your date field in your query that is the recordsource for your query and format that field accordingly.
Month: Format([yourdatefieldhere],"mmmm / yyyy")
Oalso noticed you identified some of the fields in your table as Date,Month these are reserved words in Access and should not be used as field names.
Edited by: jmcwk on Sat May 6 19:07:46 EDT 2006.