Results 1 to 2 of 2
  1. #1
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215

    Querying specific weeks data within any given year?

    I have a form set up to take in any date that the user can put in (eg 02/12/2007).

    I would like to return any item in my database within that given week.

    Anyone know how?



    Thanks

  2. #2
    lfpm062010 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    US
    Posts
    415
    Using DatePart to get the week number. More on DatePart http://www.techonthenet.com/access/f...e/datepart.php

    Then using DatePart to select that week number in the table.

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

Similar Threads

  1. Dsum data between to dates for this year and last year
    By sdel_nevo in forum Programming
    Replies: 1
    Last Post: 06-13-2013, 06:48 AM
  2. Replies: 8
    Last Post: 12-05-2012, 07:24 PM
  3. Replies: 3
    Last Post: 11-22-2011, 11:06 AM
  4. Italicizing text after specific year
    By hawkins in forum Access
    Replies: 4
    Last Post: 10-05-2011, 03:28 PM
  5. Comparing consecutive weeks data
    By foamcows in forum Queries
    Replies: 1
    Last Post: 08-16-2011, 08:20 PM

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