<?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 Using hidden scripts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-hidden-scripts/m-p/328277#M711045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have created a basic report document which works fine pulling data from SQL Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I move the sql commands from a standard tab to a hidden script, I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ODBC connection failed"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My OLEDB connect 32 statement is set in the default "Main" tab, I have also tried moving it to the hidden script yet the same issue occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I not meant to place SQL commands in a hidden script? Or am I just doing it wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers for any help!&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 01:34:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-26T01:34:40Z</dc:date>
    <item>
      <title>Using hidden scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Using-hidden-scripts/m-p/328277#M711045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have created a basic report document which works fine pulling data from SQL Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I move the sql commands from a standard tab to a hidden script, I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ODBC connection failed"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My OLEDB connect 32 statement is set in the default "Main" tab, I have also tried moving it to the hidden script yet the same issue occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I not meant to place SQL commands in a hidden script? Or am I just doing it wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers for any help!&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 01:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-hidden-scripts/m-p/328277#M711045</guid>
      <dc:creator />
      <dc:date>2011-05-26T01:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using hidden scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Using-hidden-scripts/m-p/328278#M711046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my&amp;nbsp; understanding the hidden script executes first and then the rest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also first you need to establish a connection and then executes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally we dont add Sql queries in&amp;nbsp; hidden script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hidden script are used for Section Access script or any other data&amp;nbsp; information which we don't want to disclose to other developers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the SQL Script doesn't contain any data , we don't write in hidden script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 03:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-hidden-scripts/m-p/328278#M711046</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-05-26T03:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using hidden scripts</title>
      <link>https://community.qlik.com/t5/QlikView/Using-hidden-scripts/m-p/328279#M711047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach the sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 05:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-hidden-scripts/m-p/328279#M711047</guid>
      <dc:creator />
      <dc:date>2011-05-26T05:06:58Z</dc:date>
    </item>
  </channel>
</rss>

