Jun 7, 2005 #1 sk8er1 Programmer Jan 2, 2005 229 US I need to create a report that groups on week number. How can i do that in crystal. Thanks
Jun 7, 2005 Thread starter #2 sk8er1 Programmer Jan 2, 2005 229 US My original report (in access) is calculating the week number this way...how can it be done in crystal? WeekNo: DatePart("ww",[Schedule Date])+1-DatePart("ww",[Schedule Date]-Day([Schedule Date])+1) Upvote 0 Downvote
My original report (in access) is calculating the week number this way...how can it be done in crystal? WeekNo: DatePart("ww",[Schedule Date])+1-DatePart("ww",[Schedule Date]-Day([Schedule Date])+1)
Jun 7, 2005 #3 cmv131 MIS Feb 16, 2005 158 US Create a formula datepart("ww", DateField) and group on that Upvote 0 Downvote
Jun 7, 2005 #4 cmv131 MIS Feb 16, 2005 158 US Just tested the code below and it worked fine. Make sure in Crystal to use { } instead of [ ] as well DatePart("ww",{Schedule Date})+1-DatePart("ww",{Schedule Date}-Day({Schedule Date})+1) Upvote 0 Downvote
Just tested the code below and it worked fine. Make sure in Crystal to use { } instead of [ ] as well DatePart("ww",{Schedule Date})+1-DatePart("ww",{Schedule Date}-Day({Schedule Date})+1)