<?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: IF table do not exist then Exit Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130484#M603689</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;never tried such thing, but if above script is already working, you can try 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;if isnull(TableNumber('Temptable')) and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;isnull(TableNumber('Temptable1'))&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;then&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-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Exit Script&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;End IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2018 15:57:18 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2018-07-26T15:57:18Z</dc:date>
    <item>
      <title>IF table do not exist then Exit Script</title>
      <link>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130483#M603688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I currently have the following code. Which says if a table does not exist then exit script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if isnull(TableNumber('Temptable')) &lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Exit Script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;End IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change this to look at two tables Temptable and Temptable1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I want to exit the script if &lt;SPAN style="font-size: 13.3333px;"&gt;Temptable and &lt;SPAN style="font-size: 13.3333px;"&gt;Temptable1 do not exist. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This maybe simple but I am stuck.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 15:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130483#M603688</guid>
      <dc:creator>jeckstein</dc:creator>
      <dc:date>2018-07-26T15:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: IF table do not exist then Exit Script</title>
      <link>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130484#M603689</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;never tried such thing, but if above script is already working, you can try 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;if isnull(TableNumber('Temptable')) and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;isnull(TableNumber('Temptable1'))&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;then&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-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Exit Script&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;End IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 15:57:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130484#M603689</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-07-26T15:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: IF table do not exist then Exit Script</title>
      <link>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130485#M603690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the following script:&lt;BR /&gt;In this example table &lt;SPAN style="font-size: 13.3333px;"&gt;Temptable7 and &lt;SPAN style="font-size: 13.3333px;"&gt;Temptable8 are being loaded but &lt;SPAN style="font-size: 13.3333px;"&gt;Temptable2 not.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;If you change the name of table &lt;SPAN style="font-size: 13.3333px;"&gt;Temptable7 &lt;SPAN style="font-size: 13.3333px;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Temptable8 to &lt;SPAN style="font-size: 13.3333px;"&gt;Temptable &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Temptable1, the entire script will be executed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temptable7:&lt;/P&gt;&lt;P&gt;load * inline[&lt;/P&gt;&lt;P&gt;test,name&lt;/P&gt;&lt;P&gt;test,n1&lt;/P&gt;&lt;P&gt;test2,n2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temptable8:&lt;/P&gt;&lt;P&gt;load * inline[&lt;/P&gt;&lt;P&gt;c,b&lt;/P&gt;&lt;P&gt;1,2&lt;/P&gt;&lt;P&gt;3,4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if isnull(TableNumber('Temptable')) and (isnull(TableNumber('Temptable1'))) then; Exit Script; end if;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temptable2:&lt;/P&gt;&lt;P&gt;load * inline[&lt;/P&gt;&lt;P&gt;t,n&lt;/P&gt;&lt;P&gt;t1,name1&lt;/P&gt;&lt;P&gt;t2,name2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 16:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130485#M603690</guid>
      <dc:creator>Wlad_Masi</dc:creator>
      <dc:date>2018-07-26T16:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: IF table do not exist then Exit Script</title>
      <link>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130486#M603691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello James,&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;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TableNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Temptable'))&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;then&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TableNumber&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Temptable1')) &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;then&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Exit&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Script&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;End&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;IF &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;hope it will works for you. &lt;/STRONG&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, 26 Jul 2018 16:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-table-do-not-exist-then-Exit-Script/m-p/130486#M603691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-26T16:30:21Z</dc:date>
    </item>
  </channel>
</rss>

