Results 1 to 8 of 8

Thread: Date Help

  1. #1
    Join Date
    Jul 2004
    Posts
    56

    Unanswered: Date Help

    Hi,

    I have a Tbl that includes a review date. The review date that is manually inputted by the user. I need to have a query that returns those records that are within 14 day of the review date. Any ideas

    Many thanks


    Col_bol

  2. #2
    Join Date
    Jul 2004
    Posts
    125
    The query criteria is: Between [InputDate] and Dateadd("d",-14,[Inputdate])

  3. #3
    Join Date
    Jul 2004
    Posts
    56
    Thank-you, worked a treat

  4. #4
    Join Date
    Jul 2004
    Posts
    56

    More help

    Well I thoughtit did work, but I seem to have become confused.

    My table has a field that indicates when a review is due, it is formatted in short date order DD/MM/YYYY.

    I need a query that returns all records that are within 14 days of the review date as indicated in the field ReviewDate.

    Thanks


    Col_Bol

  5. #5
    Join Date
    Jul 2004
    Posts
    56

    Date Help

    The last post didn't seem to get up on the site. So here it is again. - Any ideas please?

    Col_bol

  6. #6
    Join Date
    Jun 2004
    Location
    Nottinghamshire, UK
    Posts
    14
    Col_bol

    Try the following as criteria for the review date field in the query:

    <=DateAdd("d",14,Date())

    HTH

  7. #7
    Join Date
    Jun 2004
    Posts
    16
    Try:

    > [YourReviewdatefieldname] - 14

    in the criteria of whichever field logs the date of your report.

  8. #8
    Join Date
    Jul 2004
    Posts
    56
    Thanks, it worked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •