I have the following code in my web page.
Dim tmpReplace As String
'Giving tmpReplace the value from the textbox on the
webform.
tmpReplace = txtComments.Tex t.Trim
'Prevents report from crashing when a single quote is in
string
tmpReplace = tmpReplace.Repl ace("'", "''")
'Replace carriage return with the appropriate CharCodes.
tmpReplace = tmpReplace.Repl ace("\n", "chr(13) + chr(10)")
I want to display the following text on my report: chr(13) + chr(10)
Instead what is happening is that .Net is executing the chr function
and creating a carriage return. What do I need to do to prevent the
chr function from being launched?