<?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: How to Store data from QlikView input box to SQL when clicking Button object? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195326#M22543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2016 05:03:26 GMT</pubDate>
    <dc:creator>vikasmahajan</dc:creator>
    <dc:date>2016-10-13T05:03:26Z</dc:date>
    <item>
      <title>How to Store data from QlikView input box to SQL when clicking Button object?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195323#M22540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone tell how to Store data from QlikView input box to SQL when clicking Button object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 08:01:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195323#M22540</guid>
      <dc:creator>lawrance</dc:creator>
      <dc:date>2016-09-30T08:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Store data from QlikView input box to SQL when clicking Button object?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195324#M22541</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;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/735047"&gt;SQL Writeback&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-5970" title="https://community.qlik.com/docs/DOC-5970"&gt;https://community.qlik.com/docs/DOC-5970&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this links you will able to do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 06:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195324#M22541</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-10-03T06:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Store data from QlikView input box to SQL when clicking Button object?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195325#M22542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this solution what I'm expecting and I got the solution.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Create Input Box&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Step 1:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; Open QlikView&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Step 2:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; Right click and choose Input Box&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Step 3:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; In General, Click New Variable and Enter the Variable Name, click Ok&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Create Button (Reload)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Step 1:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; Right click and choose Button&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Step 2:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; In General, Type Submit in Text box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Step 3:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; Select Action menu, click Add -&amp;gt; choose External -&amp;gt; choose Reload&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Now the Button is Active&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;SQL Query in Script Editor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;First, we need to create variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;For E.g.&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; set vFirstName=$(FirstName);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Note:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; $(FirstName) is the variable of InputBox which we already given&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;Now create the connection string&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Create SQL Queries:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;For E.g. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Insert:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; SQL INSERT INTO TableName (FieldName1, FieldName2) values(‘$(variable1)’,’$(variable2)’);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Optional:&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt; SQL DELETE TABLENAME where FieldName(n)=’’;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Times New Roman','serif';"&gt;Note: Why Optional means, if the User click submit button without enter the data we need remove that null value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;To display the data in QlikView&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;SQL SELECT * FROM TABLENAME;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;DISCONNECT;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;Now, we need to reset the QlikView InputBox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;For E.g. set FirstName=NULL();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Times New Roman','serif';"&gt;Lawrance&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 21:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195325#M22542</guid>
      <dc:creator>lawrance</dc:creator>
      <dc:date>2016-10-12T21:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Store data from QlikView input box to SQL when clicking Button object?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195326#M22543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 05:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Store-data-from-QlikView-input-box-to-SQL-when-clicking/m-p/1195326#M22543</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-10-13T05:03:26Z</dc:date>
    </item>
  </channel>
</rss>

