Nov 24, 2005 #1 Apollo13a Technical User Apr 27, 2003 277 US My query contains dates for entered labor hours. How do I show just the records for the current week? My payroll period runs Mon to Sun. Thanks, Jim
My query contains dates for entered labor hours. How do I show just the records for the current week? My payroll period runs Mon to Sun. Thanks, Jim
Nov 24, 2005 1 #2 PHV MIS Nov 8, 2002 53,708 FR the records for the current week ... WHERE Format([date field],'ww')=Format(Date(),'ww') ... Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
the records for the current week ... WHERE Format([date field],'ww')=Format(Date(),'ww') ... Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Nov 25, 2005 Thread starter #3 Apollo13a Technical User Apr 27, 2003 277 US Perfect, Thank You Upvote 0 Downvote
Nov 27, 2005 Thread starter #4 Apollo13a Technical User Apr 27, 2003 277 US Another solution is: Code: WHERE (((DatePart("ww",[LaborDate]))=Format(Now()-1,"ww"))) Upvote 0 Downvote