Results 1 to 3 of 3
  1. #1
    scorpion99 is offline Novice
    Windows 7 32bit Access 2002
    Join Date
    Nov 2013
    Posts
    27

    querying data Grouped BY WEEK

    Hello all,
    I am trying to query some data from a table which have a column for the date. Noting that I have at least 200 users registered per day , I would like to query my data grouped BY WEEK and not BY DAY.
    How can this be done?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Create field in query with expression for year and week number: Format([dateField],"yyyyww")
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    scorpion99 is offline Novice
    Windows 7 32bit Access 2002
    Join Date
    Nov 2013
    Posts
    27
    Perfect it worked

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

Similar Threads

  1. Replies: 1
    Last Post: 04-04-2013, 11:40 PM
  2. Querying All Data When Form Field Is Blank
    By jre1229 in forum Queries
    Replies: 25
    Last Post: 08-22-2012, 11:32 AM
  3. Access Report deletes grouped data.
    By matt123 in forum Database Design
    Replies: 5
    Last Post: 07-07-2011, 09:19 AM
  4. Querying Treaty Data
    By ohthesilhouettes in forum Queries
    Replies: 1
    Last Post: 06-15-2011, 11:13 AM
  5. Grouped Report Missing Data
    By travismd in forum Reports
    Replies: 1
    Last Post: 11-30-2009, 11:08 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