In the query I am trying to put a criteria in a date field. What I want is to get all the data that fits in one month. Can you please help.
Thanks
PS I use Microsoft access 2010
In the query I am trying to put a criteria in a date field. What I want is to get all the data that fits in one month. Can you please help.
Thanks
PS I use Microsoft access 2010
Post your attempted query SQL statement.
Possible WHERE clause:
Format([date field], "yyyymm") = [enter yyyymm criteria]
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
My suggested criteria is text, not a date. The parameter for my suggestion would be: 201406
I forgot apostrophes.
Format([date field], "yyyymm") = "'" & [enter yyyymm criteria] & "'"
Do you want June for every year?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
That is what I want. I want the month for any year.
thanks
This is resolved?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.