From QlikView Help
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';
Can you please elaborate the TRACE explanation..still i am confused ....Please attach some output of Trace keyword ...
I tried with the below code :-
TRACE 'C:\Users\Sarfaraz.Sheikh\Desktop\Sarfaraz\TAT Data\COMPLAINS TAT DATA.xls' Loaded;
Let MyMassage=NoOfRows('COMPLAINS TAT DATA.xls') & 'rows in COMPLAINS TAT DATA';
when i click on reload nothing is appearing or appeared ....what exactly happening after reload i am not understanding...
Request you to please elaborate or attach some output here ...
Now if you use this Trace in between a long statement, you might not be able to see the output, because that gets executed fast and goes to next statement. If you want the see the output, better use Sleep command to wait for sometime like:
Trace 'Here is your message';
Sleep 2000; // 2000 miliseconds