<?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: Load command in script syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436683#M1160153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked!  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="Description: Description: A319"&gt;&lt;/A&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;Bill Ritzel&lt;/P&gt;&lt;P&gt;Reliability Data Analyst&lt;/P&gt;&lt;P&gt;Allegiant Travel Company&lt;/P&gt;&lt;P&gt;8360 S. Durango Drive, Las Vegas, NV 89113&lt;/P&gt;&lt;P&gt;Direct: 702-589-8062 | Ext: 3641 Bill.Ritzel@allegiantair.com&amp;lt;mailto:Bill.Ritzel@allegiantair.com&amp;gt; | www.allegiant.com&amp;lt;http://www.allegiant.com/&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2012 22:28:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-13T22:28:22Z</dc:date>
    <item>
      <title>Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436676#M1160146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;I am pulling all fields from a table in Access, and I tried to add a Load command to the script to create an additional field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;The table has Code1, Code2, etc. thru Code6, and if any of these begins with an "M" I want a boolean field to be True.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;&lt;IMG __jive_id="26863" class="jive-image-thumbnail jive-image" height="269" onclick="" alt="QlikScript.bmp" src="https://community.qlik.com/legacyfs/online/26863_QlikScript.bmp" width="885" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;When I run this script I get the fields from the table, but not the additional field Flagged.&amp;nbsp; Can anyone tell me what I need to add? I could do it in the Access table first, but I'd like to learn how to do it here, since this field would be used for a chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 21:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436676#M1160146</guid>
      <dc:creator />
      <dc:date>2012-12-13T21:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436677#M1160147</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;Put the load statement on top of the select statement.&lt;/P&gt;&lt;P&gt;change it so it will look as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&amp;nbsp; //that way you load all data from the SQL statement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(.........) AS flagged;&lt;/P&gt;&lt;P&gt;Select *&lt;/P&gt;&lt;P&gt;from 'table'&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goodluck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436677#M1160147</guid>
      <dc:creator />
      <dc:date>2012-12-13T22:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436678#M1160148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;It still doesn’t like it.&amp;nbsp; It’s a syntax problem - it’s looking for True as a field, not as a value.&amp;nbsp; Field not found - &amp;lt;True&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436678#M1160148</guid>
      <dc:creator />
      <dc:date>2012-12-13T22:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436679#M1160149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;It still doesn’t like it.&amp;nbsp; It’s a syntax problem - it’s looking for True as a field, not as a value.&amp;nbsp; Field not found - True&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436679#M1160149</guid>
      <dc:creator />
      <dc:date>2012-12-13T22:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436680#M1160150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; color: #1f497d; font-size: 11pt;"&gt;It still doesn’t like it.&amp;nbsp; It’s a syntax problem - it’s looking for True as a field, not as a value.&amp;nbsp; Field not found - True&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436680#M1160150</guid>
      <dc:creator />
      <dc:date>2012-12-13T22:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436681#M1160151</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;Use 'True' as string like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,if(left(Code2,1)='M','True');&lt;/P&gt;&lt;P&gt;Select * from tablename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436681#M1160151</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-12-13T22:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436682#M1160152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use it with 'True' so it will be a string or either put 1 instead,&lt;/P&gt;&lt;P&gt;If (condition,1, else..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hilla Peled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ב-14 בדצמ 2012, בשעה 00:24, "Bill Ritzel" &amp;lt;qcwebmaster@qlik.com&amp;lt;mailto:qcwebmaster@qlik.com&amp;gt;&amp;gt; כתב/ה:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikCommunity&amp;lt;http://community.qlik.com/index.jspa&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Load command in script syntax&lt;/P&gt;&lt;P&gt;created by Bill Ritzel&amp;lt;http://community.qlik.com/people/billritz&amp;gt; in New to QlikView - View the full discussion&amp;lt;http://community.qlik.com/message/291492#291492&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436682#M1160152</guid>
      <dc:creator />
      <dc:date>2012-12-13T22:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436683#M1160153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked!  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="Description: Description: A319"&gt;&lt;/A&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;Bill Ritzel&lt;/P&gt;&lt;P&gt;Reliability Data Analyst&lt;/P&gt;&lt;P&gt;Allegiant Travel Company&lt;/P&gt;&lt;P&gt;8360 S. Durango Drive, Las Vegas, NV 89113&lt;/P&gt;&lt;P&gt;Direct: 702-589-8062 | Ext: 3641 Bill.Ritzel@allegiantair.com&amp;lt;mailto:Bill.Ritzel@allegiantair.com&amp;gt; | www.allegiant.com&amp;lt;http://www.allegiant.com/&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436683#M1160153</guid>
      <dc:creator />
      <dc:date>2012-12-13T22:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Load command in script syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436684#M1160154</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; Please close the post by marked as assumed answer or correct answer, it helps others to know the answer for similar issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 22:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-command-in-script-syntax/m-p/436684#M1160154</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-12-13T22:39:03Z</dc:date>
    </item>
  </channel>
</rss>

