<?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: Input data from a button click in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059266#M637837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i understand you correctly , you want to insert/update data into qvd file using a button action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not possible. You need to write a macro for doing this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 21:14:20 GMT</pubDate>
    <dc:creator>satishkurra</dc:creator>
    <dc:date>2016-04-01T21:14:20Z</dc:date>
    <item>
      <title>Input data from a button click</title>
      <link>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059264#M637835</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;Is possible input data into a qvd or excel, for example, from a button click?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to count how many users clicked in to a button. Maybe a action/macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 16:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059264#M637835</guid>
      <dc:creator />
      <dc:date>2016-03-23T16:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Input data from a button click</title>
      <link>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059265#M637836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain in detail.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 20:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059265#M637836</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2016-04-01T20:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Input data from a button click</title>
      <link>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059266#M637837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i understand you correctly , you want to insert/update data into qvd file using a button action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not possible. You need to write a macro for doing this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 21:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059266#M637837</guid>
      <dc:creator>satishkurra</dc:creator>
      <dc:date>2016-04-01T21:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Input data from a button click</title>
      <link>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059267#M637838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also check if the below link can help you ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3419"&gt;Loading Data into Input Boxes&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 21:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059267#M637838</guid>
      <dc:creator>satishkurra</dc:creator>
      <dc:date>2016-04-01T21:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Input data from a button click</title>
      <link>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059268#M637839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did it using a macro. Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub logdet &lt;/P&gt;&lt;P&gt;dim oConn, rs, UserID, Datetime, v1, v2&lt;/P&gt;&lt;P&gt;'on error resume next&lt;BR /&gt;'err.clear&lt;/P&gt;&lt;P&gt;Set oConn = CreateObject("ADODB.Connection")&lt;/P&gt;&lt;P&gt; oConn.Open "provider=sqloledb.1;data source=server;initial catalog=db; User ID=user; Password=password"&lt;BR /&gt; &lt;BR /&gt; set v1 = ActiveDocument.Variables("vUserID")&lt;BR /&gt; UserID = v1.GetContent.String&lt;BR /&gt; &lt;BR /&gt; set&amp;nbsp; v2 = ActiveDocument.Variables("vDatetime")&lt;BR /&gt; Datetime = v2.GetContent.String&lt;/P&gt;&lt;P&gt; oConn.Execute "INSERT INTO DW.dbo.LOGDET(USUARIO, DATA_ACESSO) VALUES ('"&amp;amp;UserID&amp;amp;"', '"&amp;amp;Datetime&amp;amp;"')"&lt;/P&gt;&lt;P&gt; oConn.Close&lt;/P&gt;&lt;P&gt;'If Err.Number &amp;lt;&amp;gt; 0 Then &lt;BR /&gt;'&lt;BR /&gt;' msgbox("ERRO: " &amp;amp; Err.Number)&lt;BR /&gt;' msgbox("USERID: " &amp;amp; UserID)&lt;BR /&gt;' msgbox("DATETIME: " &amp;amp; Datetime)&lt;BR /&gt;' &lt;BR /&gt;' &lt;BR /&gt;'Else&lt;BR /&gt;'&lt;BR /&gt;' msgbox("All rows are now stored in database")'End message&lt;BR /&gt;'&lt;BR /&gt;'End if &lt;BR /&gt; &lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 12:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-data-from-a-button-click/m-p/1059268#M637839</guid>
      <dc:creator />
      <dc:date>2016-04-04T12:57:35Z</dc:date>
    </item>
  </channel>
</rss>

