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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replace Character with a hard return

Status
Not open for further replies.

mdtimo

Programmer
Oct 18, 2001
38
0
0
US
I have data in a table that allows for hard returns but represents them with a "`" sign. I can't seem to do a replace so that every "`" is turned into a hard return.

Any ideas on how to do this?
 
If you want to print text on a new line, CHR(13) within the text string will do this. Is this what you're after?

Madawc Williams
East Anglia, Great Britain
 
If you mean line break when you say hard return then create a formula with this in it:
Code:
Replace ({table.field}, "`", chr(13))

~Brian
 
My data looks something like this
Patent Application No: 09/342,233`Light Creating Diode`Inventor name: Joe Smith' Application Date : January 2003` Reference No. : 205802

I want to display the same data but with a hard return wehre there is a "`"

I used the formula and only the first line of data displayed.
 
Does your display field have 'Can Grow' set? Right-click and format field to check.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top