Results 1 to 4 of 4
  1. #1
    FSCHAMP is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2010
    Posts
    4

    week overview

    Hello,



    I am very new on this forum , I have some knowledge of Access and a little bit of VBA . Now I want to make a weekly overview in form and it must be by weeknumber. So, is there a function in Access or VBA, which I can use for it?
    All the data is in a table by date.

    Grts,

    Gino V.

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Welcome to the forum!

    You can use the datepart() function with the interval set to "ww" to get the week number. Check out Access' help section for more on the function. Her is the general syntax of the function

    DatePart(interval, date[,firstdayofweek[, firstweekofyear]])

  3. #3
    FSCHAMP is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    4
    Thanks a lot,

    But I had found it in the meantime on this forum, So you can close this item.

    Grts,

    Gino V.

  4. #4
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    I'm glad you were able to find a solution. Unfortunately, I think only the original person who made the post can close it.

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

Similar Threads

  1. Finding last week
    By jgelpi16 in forum Queries
    Replies: 5
    Last Post: 09-21-2010, 02:32 PM
  2. day of week input mask
    By jacko311 in forum Programming
    Replies: 7
    Last Post: 11-15-2009, 12:56 PM
  3. Overview
    By ReallyNeedHelp in forum Queries
    Replies: 0
    Last Post: 06-17-2009, 05:39 PM
  4. Week number wrong
    By Nikki17 in forum Queries
    Replies: 6
    Last Post: 03-18-2006, 10:01 PM
  5. Day of Week Totals
    By ddog171 in forum Queries
    Replies: 1
    Last Post: 03-18-2006, 07:01 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