Substitution Tokens in Reports

It is very likely that you will want to use substitution tokens in your report to add details such as filenames to headers, page numbers to footers and variable responses to the content. See Report Elements: Contents Tab.

There are multiple substitution tokens that may be used in Report Elements:

Token

Display

&[VAR] Response stored for specified variable, VAR
&FLN File name of document
&FLP File name of document, including full path name
&PGN Current page number
&PGT Total number of pages in document
&{VAR} Interviewer comments associated with variable, VAR
&?VAR Text of question associated with variable, VAR
&*VAR Text of probe associated with variable, VAR

Note: Only &[VAR] does not apply exclusively to Report Elements.

Tip: All tokens are allowed in the Report Element header or footer. The tokens &FLN, &FLP, &PGT, and &PGN tokens are only allowed in the header and footer fields – they are not allowed in the Contents Tab page. If they are entered onto the contents page of a report, QDS will generate an error message.