<?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: Field not found with table load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62526#M782787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dynamically picking data from qvds from more than 20 months data and as per the current requirement we might add new logic and we are not aware that field exist in previous months as DB guys might added as per the new requirements so we should avoid these errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Ex:&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;*,if(d='a','te','be') as test_flat&lt;/P&gt;&lt;P&gt;from qvd_month*;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 13:24:09 GMT</pubDate>
    <dc:creator>priyarane</dc:creator>
    <dc:date>2018-03-21T13:24:09Z</dc:date>
    <item>
      <title>Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62522#M782783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to load table even if Field not found error, with error modes we can avoid failure but we can't load rest of the load.&lt;/P&gt;&lt;P&gt;for Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;load*,if(d='a','te','be') as test_flat&lt;/P&gt;&lt;P&gt;from table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above table d field is not there but we need to avoid failure as well as need to load other fields. it should be dynamic as I mentioned only one field like 'd', but in real there are couple of tables and couple of fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62522#M782783</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62523#M782784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be set this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET ErrorMode=0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To read more &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ErrorVariables/ErrorMode.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ErrorVariables/ErrorMode.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ErrorVariables/ErrorMode.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62523#M782784</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-03-21T13:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62524#M782785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as I told you, with error modes table data will be missed &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62524#M782785</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2018-03-21T13:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62525#M782786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sincerely, Not make sense to me. But blindly replying to you. So why you want to take D Field then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62525#M782786</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-03-21T13:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62526#M782787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dynamically picking data from qvds from more than 20 months data and as per the current requirement we might add new logic and we are not aware that field exist in previous months as DB guys might added as per the new requirements so we should avoid these errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Ex:&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;*,if(d='a','te','be') as test_flat&lt;/P&gt;&lt;P&gt;from qvd_month*;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62526#M782787</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2018-03-21T13:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62527#M782788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;set ErrorMode=0;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff;"&gt;select&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #0000ff;"&gt;&lt;STRONG&gt;*,if(d='a','te','be') as test_flat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff;"&gt;from qvd_month*;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;if ScriptError=8 then&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;exit script;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code" data-mc-conditions="Primary.NotToTranslate" style="font-size: 12px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; color: #0f0f0f;"&gt;&lt;STRONG style=": ; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;end if&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62527#M782788</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-03-21T13:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62528#M782789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the effort but data is not loading, only error is avoiding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62528#M782789</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2018-03-21T13:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62529#M782790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you forcibly ignoring the error like Continue / Ok ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62529#M782790</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-03-21T13:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62530#M782791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is automatic triggers, not manual&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62530#M782791</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2018-03-21T13:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62531#M782792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be &lt;A href="https://community.qlik.com/qlik-users/27943"&gt;marcus_sommer&lt;/A&gt;‌ will light you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62531#M782792</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-03-21T13:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62532#M782793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible to check the existence of a field within a load-statement. You will always need an additionally outside check if a field exists or not. This could be done by loading only the the first record of a file and then looping through all fields and checking them against your conditions and using this to branch into different load-statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By qvd-files is it a bit easier because with the qvd-functions these information could be gathered by reading the qvd-header maybe in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 1 to qvdnooffields('YourQVD')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vFieldCheck = match(qvdfieldname('YourQVD', $(i)), 'd');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if $(vFieldCheck) = true() then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit for&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(vFieldCheck) = true() then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadStatement1&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadStatement2&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easier then this will be just to use different folders for the different qvd-structures and using then two different load-statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 13:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62532#M782793</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-03-21T13:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found with table load</title>
      <link>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62533#M782794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to know, Can't we do like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;for i = 1 to qvdnooffields('YourQVD')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vFieldCheck = match(qvdfieldname('YourQVD', $(i)), 'd');&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if $(vFieldCheck) = true() then&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadStatement1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadStatement2&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;next&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 14:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-not-found-with-table-load/m-p/62533#M782794</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-03-21T14:09:00Z</dc:date>
    </item>
  </channel>
</rss>

