<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is the function to write a message to the script execution dialog? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679255#M675990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Trace is what you are looking for, from Help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor1352"&gt;&lt;/A&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;Trace&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;The &lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;trace&lt;/SPAN&gt; statement writes a &lt;SPAN class="Italic"&gt;string&lt;/SPAN&gt; to the &lt;SPAN class="Bold"&gt;Script Execution Progress&lt;/SPAN&gt; window and to the script log file, when used. &lt;/P&gt;&lt;P&gt;It is very useful for debugging purposes. Using $-expansions of variables that are calculated prior to the &lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;Trace&lt;/SPAN&gt; statement, you can customize the message.&lt;/P&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;trace&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; string&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;trace&lt;/SPAN&gt; Main table loaded;&lt;/P&gt;&lt;P&gt;Let MyMessage = NoOfRows('MainTable') &amp;amp; ' rows in Main Table';&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;trace&lt;/SPAN&gt; $(MyMessage);&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2014 15:05:49 GMT</pubDate>
    <dc:creator>jerem1234</dc:creator>
    <dc:date>2014-07-15T15:05:49Z</dc:date>
    <item>
      <title>What is the function to write a message to the script execution dialog?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679254#M675989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;During the script execution process, I wish to write some comments to the log to help me track the reload process.&amp;nbsp; Debug is not available as the process is running on a secured server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:02:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679254#M675989</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-07-15T15:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to write a message to the script execution dialog?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679255#M675990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Trace is what you are looking for, from Help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H1&gt;&lt;A name="kanchor1352"&gt;&lt;/A&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;Trace&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;The &lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;trace&lt;/SPAN&gt; statement writes a &lt;SPAN class="Italic"&gt;string&lt;/SPAN&gt; to the &lt;SPAN class="Bold"&gt;Script Execution Progress&lt;/SPAN&gt; window and to the script log file, when used. &lt;/P&gt;&lt;P&gt;It is very useful for debugging purposes. Using $-expansions of variables that are calculated prior to the &lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;Trace&lt;/SPAN&gt; statement, you can customize the message.&lt;/P&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;trace&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt; string&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;trace&lt;/SPAN&gt; Main table loaded;&lt;/P&gt;&lt;P&gt;Let MyMessage = NoOfRows('MainTable') &amp;amp; ' rows in Main Table';&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;trace&lt;/SPAN&gt; $(MyMessage);&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679255#M675990</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-07-15T15:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to write a message to the script execution dialog?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679256#M675991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jeremiah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;great!&lt;/P&gt;&lt;P&gt;I knew about the TRACE statement elsewhere - but I would never have thought of using it in this context.&lt;/P&gt;&lt;P&gt;That is the sort of thing I would propose for putting into a WIKI for every newcomer to consult - if I had known this about a year ago when I started doing this, it would have helped me a great deal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679256#M675991</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-15T15:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is the function to write a message to the script execution dialog?</title>
      <link>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679257#M675992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats great Jeremiah, many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this in a subroutine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;FOR&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Each&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;Dir&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;dirlist&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'\*' )&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;TRACE&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(Dir)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;call&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;DoDir&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Dir&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;NEXT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;Dir&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;ML.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-is-the-function-to-write-a-message-to-the-script-execution/m-p/679257#M675992</guid>
      <dc:creator>martynlloyd</dc:creator>
      <dc:date>2014-07-15T15:30:53Z</dc:date>
    </item>
  </channel>
</rss>

