Skip to main content
Close announcements banner

Trace

The trace statement writes a string to the Script Execution Progress window and to the script log file, when used. It is very useful for debugging purposes. Using $-expansions of variables that are calculated prior to the trace statement, you can customize the message.

Syntax:  

Trace string

Example 1:  

Trace Main table loaded;

Example 2:  

Let MyMessage = NoOfRows('MainTable') & ' rows in Main Table';

Trace $(MyMessage);

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com