<?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: Scripting issue - QV not reading script correctly!?! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527905#M691132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't work, same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What works:&lt;/P&gt;&lt;P&gt;LOAD SalesType_Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales_Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GL_Acct;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "FPA_Admin".dbo.SALESTYPE_CODES;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What doesn't work wit the SQL WHERE CLAUSE.&lt;/P&gt;&lt;P&gt;LOAD SalesType_Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales_Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GL_Acct;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "FPA_Admin".dbo.SALESTYPE_CODES&lt;/P&gt;&lt;P&gt;WHERE SalesType_Code = "501" or SalesType_Code = "503" or SalesType_Code = "505"; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is "What is the syntax for a correct WHERE CLAUSE? with OR operator and text fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks. .&lt;/P&gt;&lt;P&gt;T L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2013 18:30:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-16T18:30:15Z</dc:date>
    <item>
      <title>Scripting issue - QV not reading script correctly!?!</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527903#M691130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD SalesType_Code,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales_Description,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GL_Acct;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM "FPA_Admin".dbo.SALESTYPE_CODES&lt;BR /&gt;WHERE SalesType_Code = "501" or SalesType_Code = "503" or SalesType_Code = "505";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Svc_Plan As "PMA_ServicePlan",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Common_Service_Plan,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service_Plan,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Summary AS "Summary_ServicePlan";&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM "FPA_Admin".dbo.SERVICE_PLAN_CODES;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error message:&lt;/P&gt;&lt;P&gt;Field not found - &amp;lt;SalesType_Code&amp;gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "FPA_Admin".dbo.SERVICE_PLAN_CODES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&amp;nbsp; The error appears to suggest that script is not being read by QV correctly,&lt;/P&gt;&lt;P&gt;due to the field not matching the table in the SQL SELECT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527903#M691130</guid>
      <dc:creator />
      <dc:date>2013-09-16T18:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting issue - QV not reading script correctly!?!</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527904#M691131</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;Do u have field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SalesType_Code &lt;/SPAN&gt; in your database.&lt;/P&gt;&lt;P&gt;If so,&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD SalesType_Code,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales_Description,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesType,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GL_Acct,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SalesType_Code &lt;/SPAN&gt; where match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SalesType_Code &lt;/SPAN&gt;,501,503,505);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM "FPA_Admin".dbo.SALESTYPE_CODES;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527904#M691131</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-09-16T18:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting issue - QV not reading script correctly!?!</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527905#M691132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't work, same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What works:&lt;/P&gt;&lt;P&gt;LOAD SalesType_Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales_Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GL_Acct;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "FPA_Admin".dbo.SALESTYPE_CODES;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What doesn't work wit the SQL WHERE CLAUSE.&lt;/P&gt;&lt;P&gt;LOAD SalesType_Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales_Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GL_Acct;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "FPA_Admin".dbo.SALESTYPE_CODES&lt;/P&gt;&lt;P&gt;WHERE SalesType_Code = "501" or SalesType_Code = "503" or SalesType_Code = "505"; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is "What is the syntax for a correct WHERE CLAUSE? with OR operator and text fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks. .&lt;/P&gt;&lt;P&gt;T L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527905#M691132</guid>
      <dc:creator />
      <dc:date>2013-09-16T18:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting issue - QV not reading script correctly!?!</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527906#M691133</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;In sql, we give single quotes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WHERE SalesType_Code = '501' or SalesType_Code = '503' or SalesType_Code = '505';&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527906#M691133</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-09-16T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting issue - QV not reading script correctly!?!</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527907#M691134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note to self: "I am an idiot!"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527907#M691134</guid>
      <dc:creator />
      <dc:date>2013-09-16T18:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting issue - QV not reading script correctly!?!</title>
      <link>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527908#M691135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/sportsgirl"&gt;sportsgirl&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everyone do small mistake.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripting-issue-QV-not-reading-script-correctly/m-p/527908#M691135</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-09-16T18:48:24Z</dc:date>
    </item>
  </channel>
</rss>

