You haven't explained why you don't want to use Crosstab. If you want to lump several values together, this can be done by a group field, you could do something like
Code:
If {your.code} in ["a", "b", "c"]
then "abc"
else {your.code}
I've a feeling this would not work in 8.5, which insisted on just database fields for crosstabs. It helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options.
If crosstab won't do, create a 'Mock Crosstab', which is something that looks like a Crosstab, but in fact you define each column yourself, normally as a running total. This would need to go in the report footer, because running totals count as the reports 'run' and they will not be complete until then. Crystal should have included an example along with the Crosstabs.
You can save a little time by doing a paste to a dummy report, changing the name and then pasting back. In Crystal 11.5, you can also duplicate formula fields using the Field Explorer.
Each running total will count the record if it was within the criteria
![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)
Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP
![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)