C cheer Registered User. Local time Today, 15:16 Joined Oct 30, 2009 Messages 222 Aug 23, 2011 #1 How to create WW (Work Week) field for 1 year in query with Monday is first day and Sunday is last day of the week ?
How to create WW (Work Week) field for 1 year in query with Monday is first day and Sunday is last day of the week ?
Guus2005 AWF VIP Local time Today, 09:16 Joined Jun 26, 2007 Messages 2,642 Aug 23, 2011 #2 The format command shows the week number Code: format(date,"ww") Is this what you want? HTH
C CBrighton Surfing while working... Local time Today, 08:16 Joined Nov 9, 2010 Messages 1,012 Aug 25, 2011 #3 If it's more that you want to have a query as a calendar and a field highlighting which day that date relates to I would suggest the Weekday function. http://www.techonthenet.com/access/functions/date/weekday.php :edit: I think Guus has given you what you need but as you mentioned day numbers I provided this just in case.
If it's more that you want to have a query as a calendar and a field highlighting which day that date relates to I would suggest the Weekday function. http://www.techonthenet.com/access/functions/date/weekday.php :edit: I think Guus has given you what you need but as you mentioned day numbers I provided this just in case.