Results 1 to 2 of 2
  1. #1
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows 7 32bit Access 2007
    Join Date
    Mar 2012
    Posts
    528

    the DateAdd

    Hi All
    I'm trying to understand this formula. To be exact I'm trying to make this formula work as rolling months
    Between Date() And DateAdd("d";-35;#01/01/2014#)
    I do not want to show a history of less than 35 days
    Click image for larger version. 

Name:	21.PNG 
Views:	10 
Size:	7.2 KB 
ID:	16198

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Maybe something like this?

    WHERE ((tblName.FieldName) Between DateAdd("d"; -35; Date()) And Date());

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

Similar Threads

  1. Problem with DateAdd
    By Lo-Wang in forum Queries
    Replies: 6
    Last Post: 02-13-2019, 10:55 AM
  2. dateadd problem
    By sdel_nevo in forum Forms
    Replies: 1
    Last Post: 03-21-2014, 04:32 AM
  3. DateAdd()
    By cbrsix in forum Programming
    Replies: 3
    Last Post: 11-22-2011, 02:20 PM
  4. dateadd help
    By dubsdj in forum Queries
    Replies: 3
    Last Post: 03-03-2011, 07:22 PM
  5. Help Please - DateAdd Function
    By graviz in forum Queries
    Replies: 3
    Last Post: 03-02-2010, 02:34 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