Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

To add a line break in an Output.Write statement in the Script window

Note:  this is only required in the Script window (accessed by clicking on the 'Edit Script' icon).  <br> is allowed within the body of the report within <% %>


Define a variable for the HTML line break tag using the following

var brString = '<br';

brString += '>';

 


Add the variable into the Output.Write statement(s)

Output.Write(brString = brString + "Line 1");

Output.Write(brString = brString + "Line 2");

Output.Write(brString = brString + "Line 3");