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

Can text boxes accept CR-LF

Status
Not open for further replies.

jdw81959

Programmer
Jan 25, 2001
7
US
In a VA app I am passing text that contains tabs and carriage-return line-feed characters to a string variable. I am enclosing the variable in single-quotes and trying to use this to set the source for an unbound field (string data type). I get an error that "the matching ' is missing". When I check the string it is enclosed in single quotes. If I strip out the CR LF characters, I don't get an error and the ubound field is populated with the contents of the variable. Of course the only formatted characters are the Tab characters; no carriage return or line feed. Can text boxes accept these characters? I have turned on the paragraph formatting for the unbound field to RTF with no luck.
 
jdw81959: You could try setting up a formula within Crystal - text as follows: CHR(13)

This would then insert CR/LF wherever you insert it and Yes Text Objects can accept these. David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top