NEED HELP WRITING QUERY

S

S. Jackson

I want to write a query that will give me all the new files opened during
the month. I have a field that contains the date the file was opened. How
do I write the code needed in the query to only return files opened during
the current month? Thanks in advance.

Shelly J.
 
L

LeAnne

Something like:

SELECT <yourfields>
FROM <YourTable>
WHERE Month([DateOpened])=Month(Date());

hth,

LeAnne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top