If you need to create a function, check out George Peck's "Crystal Reports Version 8.5 - The Complete Reference". It has a section on how to do exactly that. Plus at $30 its a bargain. Software Training and Support for Macola, Crystal Reports and Goldmine
714-348-0964
dgilsdorf@mchsi.com