<?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: ScriptErrorDetails not fetching multiple error details in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails-not-fetching-multiple-error-details/m-p/643711#M678529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any field&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Emp-Id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;in your script or I'm missing something?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I suppose Qlikview check (or store) only first error of a single statement.&lt;/P&gt;&lt;P&gt;So you get only the first wrong field in error variable (Emp-Id); change the order of the fields and you'll get Emp-Name &lt;/P&gt;&lt;P&gt;The same if you set ErrorMode to 1; the pop-up only show the first error by statement.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 15:11:00 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-05-22T15:11:00Z</dc:date>
    <item>
      <title>ScriptErrorDetails not fetching multiple error details</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails-not-fetching-multiple-error-details/m-p/643710#M678528</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;I need help in using ScriptErrorDetails.&lt;/P&gt;&lt;P&gt;I am using below code to fetch data from multiple excel files:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; ---------------------------------&lt;/SPAN&gt;&lt;BR /&gt;Read_Files:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;*&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Z:\files&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;\*my_file*.xlsx&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Open);&lt;BR /&gt;&lt;BR /&gt;ErrorDetails:&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;'$(ScriptErrorDetails)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vScriptErrorDetail&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AutoGenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; ------------------------------------&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;After running this, i get following value in &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vScriptErrorDetail :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field not found - &amp;lt;Emp-Id&amp;gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However there were 2 fields that were missing in different files:&lt;/P&gt;&lt;P&gt;Emp-Name column was missing in one and Emp-Id column in another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vScriptErrorDetail is storing only error in file read last.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;I want &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vScriptErrorDetail&amp;nbsp; to give following result:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;STRONG&gt;Field not found - &amp;lt;Emp-Name&amp;gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;Field not found - &amp;lt;Emp-Id&amp;gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Thanks.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 14:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails-not-fetching-multiple-error-details/m-p/643710#M678528</guid>
      <dc:creator />
      <dc:date>2014-05-22T14:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptErrorDetails not fetching multiple error details</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails-not-fetching-multiple-error-details/m-p/643711#M678529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any field&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Emp-Id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;in your script or I'm missing something?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I suppose Qlikview check (or store) only first error of a single statement.&lt;/P&gt;&lt;P&gt;So you get only the first wrong field in error variable (Emp-Id); change the order of the fields and you'll get Emp-Name &lt;/P&gt;&lt;P&gt;The same if you set ErrorMode to 1; the pop-up only show the first error by statement.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 15:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails-not-fetching-multiple-error-details/m-p/643711#M678529</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-22T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: ScriptErrorDetails not fetching multiple error details</title>
      <link>https://community.qlik.com/t5/QlikView/ScriptErrorDetails-not-fetching-multiple-error-details/m-p/643712#M678530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but if you see the code..its loading all the fields from file"*my_files*.xls" in which column emp_id and emp_name is there. I want both the field causing the error in my output text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My purpose is to show my users that we have 2 field error in the reload and these are the fields causing the error. Hope I am making it clear for you to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 21:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ScriptErrorDetails-not-fetching-multiple-error-details/m-p/643712#M678530</guid>
      <dc:creator />
      <dc:date>2014-05-22T21:09:18Z</dc:date>
    </item>
  </channel>
</rss>

