Results 1 to 3 of 3
  1. #1
    odiejodie is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2010
    Posts
    2

    Talking Criteria for a date field to display records set for the coming 7 days

    hello,
    i am trying to create a query for a report to run off, which will display the up and coming dates set for the next 7 days. but i wish to be able to select the date and which person the list is valid for.

    I am creating a database for a home help service and i need to be able to view what is to be done over the next seven days for the workers.

    i am currently trying



    DatePart("ww",[Visit Date From])=DatePart("ww",Date()) And Year([Visit Date From])=Year(Date())

    although this seems to work for one date and not any other date.

    Any thoughts on a solution?

    Thanks.

  2. #2
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    Hi,

    Try using this:

    Code:
    Between Now() And Now()+7
    as criteria for the date field in your query.

    Cheers,

  3. #3
    odiejodie is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2010
    Posts
    2
    ive just realised that..... ive used
    between date() and date()+7
    thank you

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

Similar Threads

  1. Replies: 4
    Last Post: 01-25-2010, 04:14 PM
  2. Replies: 2
    Last Post: 07-31-2009, 06:56 AM
  3. Report to display multiple records by date.
    By af01waco in forum Reports
    Replies: 1
    Last Post: 03-21-2009, 02:12 PM
  4. 90 days in the pass - Date help wanted
    By techexpressinc in forum Queries
    Replies: 1
    Last Post: 01-26-2009, 07:13 AM
  5. Setting criteria in a calculated date field
    By SteveReberger in forum Access
    Replies: 0
    Last Post: 10-29-2008, 06:58 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