Dear Laurie,
Cool, then this is very easy.
Create formula and group on that (not as efficent performance wise, but not terrible). If you find that you are taking a performance hit .. then we can explore a sql expression.
There are different options for this, If your item number field varies in length then we will have to take another path...
Now, first the Crystal formula:
{Item.Item} [1 to 10]
//extracts first 10 characters of the field
//new formula
//if item is of variable length
numbervar p := if InStr({Item.Item},'-') = 0 then length({Item.Item})
else InStr({Incident.Subject ID},'-')-1 ;
mid({Item.Item},1,p )
//end formula
Hope that helps,
ro
Rosemary Lieberman
rosemary-at-microflo.com,
Microflo provides expert consulting on MagicTSD and Crystal Reports.
You will get answers more quickly if you read this before posting: faq149-3762