Results 1 to 2 of 2
  1. #1
    sbrooks1763 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2011
    Posts
    5

    problem with date criteria

    I have a query in which i add a number of days to a given date. This gives the "next date due" for the particular function. In the criteria of the expression field, I have entered "between[start date] and [end date]. When I open this report, it prompts me to enter the dates I want to see reported. However, it doesn't limit the results to those dates or to the current year. Any ideas?

  2. #2
    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,848
    I suggest you add some code to do a debug.print and to print out the underlying sql including your [start date] and [end date] values. Then post the sql for others to comment and advise.

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

Similar Threads

  1. Date between Criteria
    By sai_rlaf in forum Queries
    Replies: 2
    Last Post: 07-19-2011, 02:35 PM
  2. >Date() criteria
    By BED in forum Queries
    Replies: 3
    Last Post: 12-15-2010, 03:29 AM
  3. Criteria for date due
    By Desstro in forum Queries
    Replies: 4
    Last Post: 11-30-2010, 12:54 PM
  4. Query Date Criteria
    By svanicek in forum Access
    Replies: 1
    Last Post: 07-09-2010, 11:13 AM
  5. Date Criteria
    By tcollins02 in forum Queries
    Replies: 1
    Last Post: 09-09-2008, 08:27 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