If you want to create typical Crystal groups, simply create a group on your age field and then in the order box pick "specific grouping". This will allow you to create groups in the way you want.
Or you could create a formula field using the following syntax:
select {table.age_field}
case 0 to 10 : 1
case 11 to 20 : 2
case 21 to 35 : 3
case 36 to 70 : 4
default : 5
Note: you must include a default line. The results on the right side of the colons can be text. Just include the text inside quotes.
Howard Hammerman,
Crystal Training and Crystal Material
On-site and public classes
Low-cost telephone/email support
FREE independent Crystal newsletter
howard@hammerman.com
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.