Results 1 to 3 of 3
  1. #1
    combine10 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2014
    Posts
    1

    Running a query from a previous date

    How could I run a query from a physical date from the past? I want to see what the same query looked like a year ago. Is that possible?



    Thanks!!

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Only if you are very stringent in how you manage your data.

    If you have a field on each record that tracks the date it was added, and you do not edit or delete any existing records, then you could make use of that date stamp field to only include records before a certain date. However, if all three of this conditions are not met, you are probably out of luck, unless you have a backup from the date you want to run it from (then restore that backup somewhere and run your query).

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Do you have an option in your query to identify the date to use?
    If not, you could create a query based on the original to include a date.
    I realize it may not be this simple, but you haven't given us much detail to work with.

    Perhaps you should have included the query SQL.

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

Similar Threads

  1. Replies: 1
    Last Post: 02-12-2013, 03:48 AM
  2. Running Sum by Date criteria in a query
    By inno in forum Access
    Replies: 6
    Last Post: 11-08-2012, 12:33 AM
  3. Prompt User for Date Range when running QUERY
    By taimysho0 in forum Programming
    Replies: 3
    Last Post: 01-30-2012, 11:49 AM
  4. Replies: 10
    Last Post: 11-06-2011, 01:30 PM
  5. Populate date from previous record
    By Lianes in forum Access
    Replies: 3
    Last Post: 09-19-2009, 03:42 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