Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grouping by Week 1

Status
Not open for further replies.

davidlev

IS-IT--Management
Jan 10, 2002
2
US
I have the need to group my output by weeks. I have a date field in my data. I'm running version 7.0. Any ideas?
Thanks
 
Create the following formula then group on it.
{date}-dayofweek({date})+2
//for start day of Monday use +2
//for start day of Sunday use +1 Mike

 
Also, when you insert a group based on any date field, you should automatically get the option to set the 'break' to Week, Month, Quarter or Year. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top