<?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 ScriptErrorDetails in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303545#M709321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ScriptErrorDetail itself is a variable so no need to create any seperate variable to store the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; to see the value of this variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Create a textbox and type =ScriptErrorDetail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So is there is any error while loading the script the description is stored in this variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 09:33:32 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2011-07-25T09:33:32Z</dc:date>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303544#M709320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script as&amp;nbsp; bellow..&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;LOAD &lt;BR /&gt;@1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2&lt;BR /&gt;FROM&lt;BR /&gt;U:\QlikView\Monitor Dashboard\Email Notification Test\Email test 0720\Email test 0721\test.txt.txt&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vErrorType=ScriptError;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;vErrordetail=ScriptErrorDetails;//Pls check latter for Value not assigning&amp;nbsp; properly&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 8pt; color: #808080;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;vErrordetail=ScriptErrorList ;&lt;/P&gt;&lt;SPAN style="font-size: 8pt; color: #808080;"&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if ScriptErrorCount=0 then&amp;nbsp; //If Script Executed successfully!&lt;BR /&gt;//set vError=0;&lt;/P&gt;&lt;P&gt;Store Test into U:\QlikView\Monitor Dashboard\Email Notification Test\Email test 0720\Email test 0721\Error.qvd;&lt;/P&gt;&lt;P&gt;ELSE //If Script not executed successfully!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set&amp;nbsp; vError=1;&lt;BR /&gt;exit script; &lt;BR /&gt;end if &lt;/P&gt;&lt;SPAN style="font-size: 8pt; color: #808080;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 8pt; color: #808080;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 8pt; color: #808080;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 8pt; color: #808080;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN id="mce_marker"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: blue; line-height: 115%; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Above script&amp;nbsp; im not able access this inside vb script&amp;nbsp; as ScriptErrorDetails value become null.. how i can store this value in variable &lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;so i can&amp;nbsp; call this in macro..&lt;/SPAN&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 115%; color: blue; font-size: 8pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;﻿&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; mso-bidi-language: AR-SA; mso-fareast-language: EN-US; line-height: 115%; color: blue; font-size: 8pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: &amp;amp;quot; mso-fareast-font-family: Calibri;"&gt;﻿&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;Macro Vb script as bellow for call that Error&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #0000ff; font-size: 8pt;"&gt;﻿&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Set vErrType=ActiveDocument.Variables("vErrordetail") &lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #0000ff; font-size: 8pt;"&gt;﻿&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #0000ff; font-size: 8pt;"&gt;﻿&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #0000ff; font-size: 8pt;"&gt;﻿&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style=": ; color: #0000ff; font-size: 8pt;"&gt;﻿&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 09:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303544#M709320</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2011-07-25T09:27:36Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303545#M709321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ScriptErrorDetail itself is a variable so no need to create any seperate variable to store the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; to see the value of this variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Create a textbox and type =ScriptErrorDetail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So is there is any error while loading the script the description is stored in this variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 09:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303545#M709321</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-25T09:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303546#M709322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thaks for your reply. i&lt;/P&gt;&lt;P&gt;agree with you but in my case i need to send error deatils in mail. so need to call ScriptErrorDetail vbscript..in Qv 10 im loosing value .. so i cant able call ScriptErrorDetail&amp;nbsp; inside vb script..&lt;/P&gt;&lt;P&gt;well-come your any other suggestion.&amp;nbsp; thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 09:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303546#M709322</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2011-07-25T09:41:34Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303547#M709323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you want to send mail when error occurs, you can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Create a alert, here give condition as if (ScriptErrorCount&amp;lt;&amp;gt; 0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This will trigger the mail when there is error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Configure the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; in message you can write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; =ScriptErrorDetail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For more info on alerts have a look at the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 09:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303547#M709323</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-25T09:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303548#M709324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hey thanks for your suggestion but i wantedcall this error in Vbscript .pls help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 09:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303548#M709324</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2011-07-25T09:56:51Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303549#M709325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; can u able to run my scipt?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 09:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303549#M709325</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2011-07-25T09:57:37Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303550#M709326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; First thing i want to tell you is that qlikview already said that its not fixed that always your macro will run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So it is always recommended&amp;nbsp; to use the built in feature of qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; For macro you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "Macro Vb script as bellow for call that Error"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; What do you mean by this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 10:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303550#M709326</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-25T10:10:36Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303551#M709327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your valuable suggestion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean&amp;nbsp; i have Etl Script as bellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;LOAD &lt;BR /&gt;@1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2&lt;BR /&gt;FROM&lt;BR /&gt;U:\QlikView\Monitor Dashboard\Email Notification Test\Email test 0720\Email test 0721\test.txt.txt&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vErrorType=ScriptError;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;vErrordetail=ScriptErrorDetails;//Pls check latter for Value not assigning&amp;nbsp; properly&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;vErrordetail=ScriptErrorList ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ScriptErrorCount=0 then&amp;nbsp; //If Script Executed successfully!&lt;BR /&gt;//set vError=0;&lt;/P&gt;&lt;P&gt;Store Test into U:\QlikView\Monitor Dashboard\Email Notification Test\Email test 0720\Email test 0721\Error.qvd;&lt;/P&gt;&lt;P&gt;ELSE //If Script not executed successfully!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set&amp;nbsp; vError=1;&lt;BR /&gt;exit script; &lt;BR /&gt;end if &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=============================MACRO========&lt;/P&gt;&lt;P&gt;in macro im calling&amp;nbsp; vErrordetail as bellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Set vErrDt=ActiveDocument.Variables("vErrordetail") &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'MsgBox(vErrDt)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;but vErrDt dint have any value as&amp;nbsp; i lost value of vErrordetail in Etlscript itslef&lt;/P&gt;&lt;P&gt; i found reson that i had defined ScriptError and assigined to&amp;nbsp; vErrorType&amp;nbsp; vaiable after that lost.if its single variable vErrordetail it will store value.and i can call this in MACRO aslo.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;thank u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 10:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303551#M709327</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2011-07-25T10:46:19Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303552#M709328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This is a reviced version of your script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;LOAD &lt;BR /&gt;@1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2&lt;BR /&gt;FROM&lt;BR /&gt;U:\QlikView\Monitor Dashboard\Email Notification Test\Email test 0720\Email test 0721\test.txt.txt&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq);&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;if ScriptErrorCount=0 then&amp;nbsp; //If Script Executed successfully!&lt;BR /&gt;//set vError=0;&lt;/P&gt;&lt;P&gt;Store Test into U:\QlikView\Monitor Dashboard\Email Notification Test\Email test 0720\Email test 0721\Error.qvd;&lt;/P&gt;&lt;P&gt;ELSE //If Script not executed successfully!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set&amp;nbsp; vError=1;&lt;BR /&gt;exit script; &lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now as i can see in your macro, it seems that you just want to display the error.. is it...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes then create a alert which will show you the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you will achieve what you want and there will be no need of any macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as i said ScriptErrorList contains the error and its a variable, so you dont need any other variable for that pourpose. If you want you can directly call tyhis variable in macro. like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vErrDt=ActiveDocument.Variables("ScriptErrorList")&lt;/P&gt;&lt;P&gt;MsgBox(vErrDt.getcontent.string)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 10:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303552#M709328</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-25T10:52:54Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303553#M709329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi &lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to call &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ScriptError&amp;nbsp; and&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ScriptErrorDetails&amp;nbsp;&amp;nbsp; in same script. my try as bellow but&amp;nbsp; its not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; not &lt;SPAN style="font-size: 8pt; color: #800000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ScriptErrorList&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 12:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303553#M709329</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2011-07-25T12:58:17Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303554#M709334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you see something in the variable using the variable overview window? &lt;/P&gt;&lt;P&gt;Is your result similar to this post? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/message/114781#114781"&gt;http://community.qlik.com/message/114781#114781&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 15:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303554#M709334</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-07-25T15:21:09Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303555#M709336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you please&amp;nbsp; describe what are you trying to do and what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 08:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303555#M709336</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-26T08:51:11Z</dc:date>
    </item>
    <item>
      <title>ScriptErrorDetails</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303556#M709339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late reply as i was bit bussy.&amp;nbsp; my pbm similer as bellow post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/114781#114781"&gt;http://community.qlik.com/message/114781#114781&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 05:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails/m-p/303556#M709339</guid>
      <dc:creator>srinivasa1</dc:creator>
      <dc:date>2011-07-29T05:18:12Z</dc:date>
    </item>
  </channel>
</rss>

