could you provide more detail on this issue? When you say you want to trim a field, I am assuming that you are not talking about trimming spaces, but more of the field. Please clarify. E. McEvoy
Crystal Reports Consultant
I'd settle for spaces. e.g.
{Generic_Name}
"Apples"
" Apples "
" Apples"
"Oranges"
" Oranges "
"Oranges "
ad infinitum
I'm putting together a catalogue of geneic names of spare parts. Grouping is ok except it throws the sequence out where the above sort of thing happens.
It seems that you may be placing this in the record selection formula, is this correct? Can you give me what you have in this entire formula that this Trim({db0123.Generic_Name}) is in?
The Record Selection Formula wants a boolean result because its purpose is to determine whether to select the record for inclusion in the report. The formula text
Trim({db0123.Generic_Name})
produces a string, but doesn't tell Crystal whether to include the record or not.
It sounds like you want to group by a trimmed version of this field. If so, just create a new formula, plug this formula text in it, then use the new formula to group your report. Malcolm Wynden
I'm for sale at
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.