Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove carriage returns in v7!!

Status
Not open for further replies.

zootweller

Technical User
Oct 7, 2001
46
GB
Hi

I do not have the remove function, is there an alternative way to remove carriage returns from text fields in v7?
 
Hi

Can you specified what are you trying to do.
This would help alot

cheers



pgtek
 
pgtek, I am trying to replace the carriage returns chr(13) in a text field {problem.description} with a space (" ") which can normally be done using the replace function, but Crystal v7 does not have this available, so am seeking an alternative.

for eaxmple, instead of looking like this:

"this
is
some
text"

I want it to look like this:
"this is some text".
The recipient of the report is using excel but it cannot cope with carriage returns, apparently.
 
unfortunately BO do not have the required functions available since taking on decisions' site - there must be another method? v7 is limited, no looping for a start, and outputing in csv or text file format ignores any formatting (like 'can grow') so still at square 1!!!
 
You might do this using a SQL Expression to do the Replace on the database side, which would be faster and not require a UFL.

If you need help with this, post the database being used.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top