Aug 7, 2003 #1 davidmo Technical User Apr 8, 2003 97 US In one report I want to group items that were created prior to 4/1/2003 and group items that were created after 4/1/2003. Not sure how.
In one report I want to group items that were created prior to 4/1/2003 and group items that were created after 4/1/2003. Not sure how.
Aug 7, 2003 #2 IdoMillet Instructor Feb 6, 2001 5,290 US Create a formula that returns "Before" or "After" depending on the date and group on that formula. Cheers, - Ido CUT, Visual CUT, and DataLink Viewer: view, e-mail, export, burst, distribute, and schedule Crystal Reports. http://www.MilletSoftware.com Upvote 0 Downvote
Create a formula that returns "Before" or "After" depending on the date and group on that formula. Cheers, - Ido CUT, Visual CUT, and DataLink Viewer: view, e-mail, export, burst, distribute, and schedule Crystal Reports. http://www.MilletSoftware.com
Aug 7, 2003 #3 synapsevampire Programmer Mar 23, 2002 20,180 US Here's an example of the formula. Insert->Field Object->Right Click Formulas->New: If {TableDateField} < cdate(year(currentdate),4,1) then "Prior to 4/1" else "4/1 or after" Insert a group by this formula. -k Upvote 0 Downvote
Here's an example of the formula. Insert->Field Object->Right Click Formulas->New: If {TableDateField} < cdate(year(currentdate),4,1) then "Prior to 4/1" else "4/1 or after" Insert a group by this formula. -k