Results 1 to 3 of 3
  1. #1
    drako28 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    2

    Date Query

    I am trying to pull data from Today and the last 6 months worth of data..


    I've tried using the following criteria.

    <=Date()-180

    But it's pulling all the data.. not just the past 6months of data.
    Any help would be great.
    Last edited by drako28; 09-10-2009 at 08:16 AM.

  2. #2
    drako28 is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    2
    figured it out..

    LOL

    >date()-180

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Just looking at what you posted probably helped. Thanks for marking the thread Solved.

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

Similar Threads

  1. Replies: 2
    Last Post: 07-31-2009, 06:56 AM
  2. Compare date in a sql query
    By access in forum Forms
    Replies: 2
    Last Post: 06-17-2009, 12:57 PM
  3. Query (Date Question)
    By cillajones in forum Queries
    Replies: 1
    Last Post: 08-09-2008, 12:05 PM
  4. query date that is five years older than today
    By cpsummer in forum Queries
    Replies: 2
    Last Post: 09-26-2007, 02:31 PM
  5. Need to set date in query for automation
    By Valeda in forum Queries
    Replies: 0
    Last Post: 06-07-2006, 06:41 AM

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