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

ASCII character for a carriage return

Status
Not open for further replies.

uksub

Programmer
Jun 15, 2003
51
US
What's the ASCII character for a carriage return in crystal?
 
can you use "special characters" like the ascii (ch13) in crystal? How do you define it in cyrstal?
 
You simply include it in a formula.

For example, the following String formula:
-----------------------------
"Line 1" & Chr(13) & "Line 2"
-----------------------------

Would result in:
---------
Line 1
Line 2
---------
in the report preview.

hth,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Also keep in mind that some processes/programs (such as printers) consider the concatenation of carriage return and line feed (chr(13)+chr(10)) as a new line.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top