Results 1 to 3 of 3
  1. #1
    hoachen is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    17

    Data group by week


    Table 1Can the below request done by a query or it will be easy on the report?

    DatePart("ww",[Date Order])
    This datepart() did not separate the year.
    Since every year the start date will be different 2010 week 1 start from 1/4/2010 to 1/10/2010 and 2011 week 1 start with 1/3/2011 and 1/9/2011.
    This table one will continue each year 2010, 2011, 2012 data.
    I tried to add a column by doinga format([Date Order], "YYYY") then when I do the crosstab. I concatenate the year and Customer Type so it will become I 2010 or I 2011
    Last edited by hoachen; 09-01-2011 at 10:34 AM.

  2. #2
    tdecker81 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    23
    I know you marked this as solved. Post your solution for others if you would.

  3. #3
    hoachen is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    17
    Quote Originally Posted by tdecker81 View Post
    I know you marked this as solved. Post your solution for others if you would.

    I found it at this site
    http://www.access-programmers.co.uk/...p/t-78904.html

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

Similar Threads

  1. DSum where data is from previous week only
    By doodles in forum Access
    Replies: 3
    Last Post: 01-31-2011, 08:35 AM
  2. Replies: 5
    Last Post: 11-29-2010, 08:16 AM
  3. Importing new data from same file once a week
    By fclanton in forum Import/Export Data
    Replies: 0
    Last Post: 11-11-2010, 09:22 AM
  4. Group by Week in a Crosstab Query
    By NMJones in forum Access
    Replies: 1
    Last Post: 06-24-2010, 04:09 PM
  5. columns for group detail but not group header?
    By Coolpapabell in forum Reports
    Replies: 0
    Last Post: 08-21-2009, 08:53 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