Tips in Report Template Scripts


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 + "Line 1");

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

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