2. Place this formula in the details section and create a group on it.
You can test if this formula is working by making an additional formula with the following text:
Dayofweek({date field})
The "DayofWeek" formula should also be placed in the Details section. It will display what day the date is on (i.e. 1 is for Sunday, 2 for Monday, etc...7 for Saturday)
Hope this helps Eileen McEvoy
Crystal Reports Consultant and Trainer
Your formula works great for grouping. I have one more question though. The formula creates a number such as
104,435. This particular number stands for 7/22/02, (which is a Monday). This is a number field and when I use a date conversion it gives me a crazy date. Do you know how I can convert this result so I can put the Monday date in the group header?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.