Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
sort by week
Sue B 
   
13 years ago
Not sure if you received my question of a couple of days ago.  I asked about getting a query/report to group/sort by week, but the week has to start on Thursday.  I have used the DatePart ( interval, date, [firstdayofweek], [firstweekofyear]) and the Weekday ( date_value, [firstdayofweek] ) functions - but when I group by Week: Format([Date],"ww")and then use the functions above - it puts the dates in the incorrect weeks and then sorts starting on Thursday - so I get something like this:  Week: 39
Date Schedule # Hours
Thursday, September 26, 2013 1 5:00 am - 1:00 pm 8.00
Friday, September 27, 2013 2 5:00 am - 1:00 pm 8.00
Monday, September 23, 2013 5 5:00 am - 1:00 pm 8.00
Tuesday, September 24, 2013 6 5:00 am - 1:00 pm 8.00
Wednesday, September 25, 2013 7 5:00 am - 1:00 pm 8.00

Can anyone help me on this?

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/15/2026 12:07:58 AM. PLT: 1s