• Date Parameter in Query (Access 97 SR-2)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Date Parameter in Query (Access 97 SR-2)

    Author
    Topic
    #370058

    I have date field in a query that tracks an “action” due date. The goal is to get the action item completed, and closed before it becomes overdue. While I do have a “true” overdure report, it only details those records which are overdue. I need to create a report which will show me all records where the due date is from today and during the next 14 days. This way we can hopefully close these items before they show up on the overdue report. I have added the following criteria to the [DueDate] field in the Query, but it ends up returning all records that are 2-3 months from now, and not just those which fall within that 14 day “window”.

    >Date()+14

    Thank you in advance for your help.

    Viewing 2 reply threads
    Author
    Replies
    • #584331

      Use
      Between Date() and Date()+14
      in the criteria

    • #584333

      Try

      Between Date() And Date()+14

      (As you wrote it, >Date()+14 returns all records with DueDate more than 14 days from now)

    • #584336

      Thanks guys. Works great.

    Viewing 2 reply threads
    Reply To: Date Parameter in Query (Access 97 SR-2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: