Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

what is trace()?what is the use of this function?

can any one plz share the answer

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Qlikview has a help file where you can find such information. Honestly, I kid you not.

Start Qlikview and press the F1 key to open the help file.

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.

The syntax is:

trace string

Examples:

trace Main table loaded;

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

trace $(MyMessage);

Back to Script Statements and Keywords.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
manuelreimitz
Partner - Contributor III
Partner - Contributor III

trace let you write some custom content into the log file

Gysbert_Wassenaar

Qlikview has a help file where you can find such information. Honestly, I kid you not.

Start Qlikview and press the F1 key to open the help file.

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.

The syntax is:

trace string

Examples:

trace Main table loaded;

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

trace $(MyMessage);

Back to Script Statements and Keywords.


talk is cheap, supply exceeds demand
Not applicable
Author

thank u Gysbert Wassenaar