Results 1 to 4 of 4
  1. #1
    augcorv@gmail.com is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Feb 2014
    Posts
    20

    Report with a specific criteria

    Can anyone tell me how to set a specific criteria in a query using expression builder to have a report show record dates from 3 days prior and 2 days in the future? Ive tried setting DateValue with no success.

  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,521
    You'd want DateAdd(), but this may work:

    Between Date()-3 And Date()+2
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    augcorv@gmail.com is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Feb 2014
    Posts
    20
    Thank you once again pbaldy. Also found this Microsoft link which is very helpful.

    http://office.microsoft.com/en-us/ac...010341674.aspx

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problem.
    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. Replies: 4
    Last Post: 12-17-2013, 08:31 AM
  2. Replies: 3
    Last Post: 10-01-2012, 07:58 AM
  3. Replies: 3
    Last Post: 08-15-2011, 10:06 AM
  4. Replies: 0
    Last Post: 01-11-2011, 06:12 PM
  5. specific criteria using forms for a query
    By timmah in forum Queries
    Replies: 7
    Last Post: 10-14-2010, 03:43 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