Search code examples
parameterscrystal-reports

Enter a Carriage Return in a Crystal Reports Parameter Field


I'm trying to use a parameter field as a notes box for a report, where when you run it, you can freely enter notes into the parameter and it will display as a text box on the form. However, I've found you cannot enter a Carriage Return(new line).

Anyone know a way to enter a new line in a parameter for crystal?


Solution

  • Figured it out. Created a parameter field called notes, then a formula field to alter the notes.

    Replace ({?Notes},"." ,"."&ChrW (10) )
    

    That replaces any periods with a .period and a new line.