Results 1 to 3 of 3
  1. #1
    AudiA4_20T is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2011
    Posts
    28

    Using an update query, but updating +2 weeks...

    Hi everyone,

    I'm looking to take a date from one table "8/1/2011 4:11:41 PM" and update it to another sheet, but the date two weeks from the one posted.

    So, I would take: 8/1/2011 4:11:41 PM and I would want 8/15/2011 4:11:41 PM on the updated sheet.

    Is there a criteria I can add to do this? And while we're on that topic, is there any main list of Access criterias? That would be extremely helpful

    TIA,


    Clint

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Look up DateAdd() in VBA Help.

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    what you're asking about is not a criteria, a criteria limits how you view a particular dataset. You're asking how to transform an existing piece of data, and you would do that with an update query (or an add record query) and use the dateadd function just as RG has suggested.

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

Similar Threads

  1. Date Add 26 weeks minus 1 day
    By ker9 in forum Queries
    Replies: 3
    Last Post: 07-26-2011, 01:20 PM
  2. Group Result by weeks
    By Grooz13 in forum Queries
    Replies: 2
    Last Post: 09-14-2010, 07:09 AM
  3. Date Parameter Help - prior 13 weeks
    By acw1980 in forum Access
    Replies: 1
    Last Post: 11-12-2009, 10:30 AM
  4. How to calculate number of weeks
    By FeatherDust in forum Queries
    Replies: 0
    Last Post: 09-18-2009, 02:50 PM
  5. Query not updating
    By timbim in forum Queries
    Replies: 0
    Last Post: 11-16-2008, 09:46 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