Results 1 to 3 of 3
  1. #1
    jjob is offline Novice
    Windows Vista Access 2002 (version 10.0)
    Join Date
    Jul 2011
    Posts
    5

    Help with Date() problem

    Code:
    =[Reports]![Results <4 and >14]![Result<4Total]
    Hi all

    I need a little help with the above, I need to get the last 14 days total results from the [Results<4Total] field.



    the result that i should get is 7, but at the monent i get 54 as that is the total for the time the program has been running.

    thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Maybe:

    [Results<4Total] BETWEEN Date() - 14 AND Date()
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jjob is offline Novice
    Windows Vista Access 2002 (version 10.0)
    Join Date
    Jul 2011
    Posts
    5
    thanks for that,

    but that does not work, I get the answer 0

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

Similar Threads

  1. Date Problem
    By Christopher.Rohde in forum Programming
    Replies: 3
    Last Post: 03-07-2013, 08:38 AM
  2. Date problem
    By mohiahmed in forum Queries
    Replies: 8
    Last Post: 01-21-2012, 11:28 AM
  3. Date problem
    By farhanahmed in forum Access
    Replies: 1
    Last Post: 04-01-2011, 10:12 AM
  4. Problem With Date
    By jlg759 in forum Programming
    Replies: 6
    Last Post: 07-02-2010, 12:40 PM
  5. Date Problem
    By oldteddybear in forum Queries
    Replies: 1
    Last Post: 08-30-2009, 08:52 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