Results 1 to 2 of 2
  1. #1
    ricyac is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    1

    Using Date in Access


    I'm fairly new to using Access, but what I want to do is have a query where I can separate data that was entered a year or 12 months from the current date. I want to then have a report that continually updates this information. I know how to build the report from the query, but now I just need to know how to set up the criteria. Any help? Greatly appreciated!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Try something along the lines of:

    Between Date() - 365 And Date()

    You can also use the DateAdd() function instead of simply subtracting days.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access Date issue
    By janelgirl in forum Programming
    Replies: 7
    Last Post: 03-31-2011, 03:48 PM
  2. refreshing date in Access 2010
    By wthoffman in forum Access
    Replies: 5
    Last Post: 02-01-2011, 09:07 AM
  3. Date of Birth Access expression
    By Father John in forum Access
    Replies: 5
    Last Post: 12-02-2010, 10:33 PM
  4. Access VBA - date format conversion
    By benattal in forum Programming
    Replies: 3
    Last Post: 12-22-2008, 10:40 AM
  5. Access Date/Time....I need a "generic" date.
    By beastmaster in forum Access
    Replies: 2
    Last Post: 12-29-2005, 12:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums