Add variables onto a report template
Overview
Variable codes are added onto a report template and when the report is rendered, the subject's values are displayed.
Required Role(s)
- Project Management
Steps
- Open the Report Template Update page (click here for steps)
- Add text into the report body by typing the text
- To copy text into the report body, it must not have any formatting attached to it (font type, font size, etc.)
- One method of stripping formatting is to past the text into Notepad and copy the text from Notepad to paste into the report body
- Use the formatting buttons to apply format, if needed
- Add variables into the report
- Method 1
- This method is best to use as the variables can be searched and selected minimizing extra typing
- Use the Add/Edit Expression buttonÂ
- Method 2Â
- This method can be used if the variable codes to add onto the report are known
- Enter the following code onto the report body substituting the actual variable code for "code":Â <%= #code %>
- Method 1
- Click here to learn about how to append the code to display missing values, pick list names, a variable's name, or a variable's description
- Variable codes are displayed on the report in an easy to read format, click the Show/Hide code button to toggle between the showing and hiding the code