<?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 Update + Store in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Update-Store/m-p/335623#M123763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've following problem:&lt;/P&gt;&lt;P&gt;I want to give an opportunity for users which use my dashboat via browser to change data and to save these changes.&lt;/P&gt;&lt;P&gt;Is it generally possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this one:&lt;/P&gt;&lt;P&gt;1. I load my Table from existed qvd&lt;/P&gt;&lt;P&gt;2. Then User can modify this data (using Buttons with Action: Dynamic Update - SQL Commands)&lt;/P&gt;&lt;P&gt;3. Finally user has to decide if he wants to store the data (SAVE - Run Partial Script) or abort the changes (RESET - Run Script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Script:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13414855747003582" jivemacro_uid="_13414855747003582"&gt;&lt;P&gt; let Table='mytab';

//vReset = true = Button Reset (Änderungen werden verworfen)
//vReset = false = Button Save (Änderungen werden gespeichert)


IF IsPartialReload() THEN

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF '$(vReset)' = 'false' THEN
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Speichern der Tabelle in QVD
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store [$(Table)] into [$(Table).qvd];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 ENDIF

[$(Table)]:
LOAD
* 
FROM
[$(Table).qvd]
(qvd)
;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do it in qlikview application - it works, but if I do it in browser it does't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does somebody have an idee for me? Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2012 10:04:53 GMT</pubDate>
    <dc:creator>waldemar_doling</dc:creator>
    <dc:date>2012-07-05T10:04:53Z</dc:date>
    <item>
      <title>Update + Store</title>
      <link>https://community.qlik.com/t5/QlikView/Update-Store/m-p/335623#M123763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've following problem:&lt;/P&gt;&lt;P&gt;I want to give an opportunity for users which use my dashboat via browser to change data and to save these changes.&lt;/P&gt;&lt;P&gt;Is it generally possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this one:&lt;/P&gt;&lt;P&gt;1. I load my Table from existed qvd&lt;/P&gt;&lt;P&gt;2. Then User can modify this data (using Buttons with Action: Dynamic Update - SQL Commands)&lt;/P&gt;&lt;P&gt;3. Finally user has to decide if he wants to store the data (SAVE - Run Partial Script) or abort the changes (RESET - Run Script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Script:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13414855747003582" jivemacro_uid="_13414855747003582"&gt;&lt;P&gt; let Table='mytab';

//vReset = true = Button Reset (Änderungen werden verworfen)
//vReset = false = Button Save (Änderungen werden gespeichert)


IF IsPartialReload() THEN

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF '$(vReset)' = 'false' THEN
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Speichern der Tabelle in QVD
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store [$(Table)] into [$(Table).qvd];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 ENDIF

[$(Table)]:
LOAD
* 
FROM
[$(Table).qvd]
(qvd)
;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do it in qlikview application - it works, but if I do it in browser it does't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does somebody have an idee for me? Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 10:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-Store/m-p/335623#M123763</guid>
      <dc:creator>waldemar_doling</dc:creator>
      <dc:date>2012-07-05T10:04:53Z</dc:date>
    </item>
  </channel>
</rss>

