Discussion Board for collaboration related to QlikView App Development.
What is the purpose of this function? Would someone put up a quick example?
Go to Solution.
Please refer the help file
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.
The syntax is:
trace Main table loaded;
Let MyMessage = NoOfRows('MainTable') & ' rows in Main Table';
To put text in the reload log / on the screen during a reload;
trace Test Message ;
Best Regards, Bill
The Trace function log the your comments to Log file. Just providing the comments in the Log file as well.
Thanks for the answers everyone. That clears it up.
I always put a trace command at the start of each tab in the load script. This allows you to see the progress of the load and assists in debugging errors.
trace ; puts a blank line in the log / execution progress window
trace === <Your Tab Name> === ;
Helpful tip, thanks Colin.