Can anyone describe methods for outputting data from a SQL Server TEXT field as it was entered? If I use
the text is displayed appropriately (i.e. with what appear to be CR/LFs). But if I simply
the line formatting is lost and I get one long, contiguous string. I tried
but that didn't work -- it just seemed to add an extra CR/LF at the end of the TEXT string. :-?
I don't want to use <TEXTAREA> because I'm looking for output-only for a printable report (in a table) and I need the entire text field displayed. (Is there a way to suppress the scroll bars and have the TEXTAREA shrink/grow to accomodate the entire text field? That would achieve the output I'm looking for)
Any ideas or experiences?
Thanx in advance!
Code:
<TEXTAREA>#MyTextField#</TEXTAREA>
the text is displayed appropriately (i.e. with what appear to be CR/LFs). But if I simply
Code:
<cfoutput>#MyTextField#</cfoutput>
the line formatting is lost and I get one long, contiguous string. I tried
Code:
<cfoutput>#ParagraphFormat(MyTextField)#</cfoutput>
but that didn't work -- it just seemed to add an extra CR/LF at the end of the TEXT string. :-?
I don't want to use <TEXTAREA> because I'm looking for output-only for a printable report (in a table) and I need the entire text field displayed. (Is there a way to suppress the scroll bars and have the TEXTAREA shrink/grow to accomodate the entire text field? That would achieve the output I'm looking for)
Any ideas or experiences?
Thanx in advance!