<?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 return value from query sql in VBscript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/return-value-from-query-sql-in-VBscript/m-p/750606#M662232</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;I would like to know if there is a way to get a return value from a query.&lt;/P&gt;&lt;P&gt;I try to explain in the best way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I opened,using VBScript, a connection to my database where I can read and write my data correctly. Before doing this, however, I'd like to run a query to check if there is a value in the db. So if it does not exist and returns null, I will do an insert, otherwise I'll update the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2015 12:09:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-05T12:09:57Z</dc:date>
    <item>
      <title>return value from query sql in VBscript</title>
      <link>https://community.qlik.com/t5/QlikView/return-value-from-query-sql-in-VBscript/m-p/750606#M662232</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;I would like to know if there is a way to get a return value from a query.&lt;/P&gt;&lt;P&gt;I try to explain in the best way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I opened,using VBScript, a connection to my database where I can read and write my data correctly. Before doing this, however, I'd like to run a query to check if there is a value in the db. So if it does not exist and returns null, I will do an insert, otherwise I'll update the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 12:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/return-value-from-query-sql-in-VBscript/m-p/750606#M662232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T12:09:57Z</dc:date>
    </item>
  </channel>
</rss>

