Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Posts
    294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Query help (Access 97)

    Does someone know how I can show in a query all records older than 2 weeks but not greater than today's date? I have a table that has all the data with a date field. I want to show records that are older than 2 weeks but not greater than todays date. This is used for appointments. Thanks

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Query help (Access 97)

    Use the DateAdd function:
    < DateAdd("d",-14,Date())
    Francois

Posting Permissions

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