You need a rule to apply to the text.
What rule would you use to select the first 2 words in
TIME WARNER CABLE ADCAST
but only the first word in
COX MEDIA INTERCONNECT
I don't need any rule. I just want to display the field small because I have lots of fields to display on the report. I need enough space so I want the company name displaying only up to the second space.
I'd put it into a table, one character longer than the length of the biggest field you will display. Check from the last character, blanking out characters until you find a character that is not blank. If you're not confident using tables in Crystal, an alternative is to use a set of MID commands plus a lot of IF ... ELSE choices, to get the same result
Of course that means that WIZZO THE DATA WIZ comes out as WIZZO THE. But it stops you turning TIME WARNER into TIME WAR etc.
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.