<?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: Clear State behavior in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975434#M955725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use your own clear set, but I think that is all you can do. Set a single clear state. May be what you were seeing was the cleared state and if you made any further selections, it would have taken to the previous selections before you made the most recent selections?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set clear state, make your selections and when you have your desired selections, click the drop down arrow to select Set Clear State:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="105132" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105132_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Nov 2015 10:20:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-11-11T10:20:03Z</dc:date>
    <item>
      <title>Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975432#M955723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to copy the behavior of the Clear button of the QV document someone else has developed.&lt;/P&gt;&lt;P&gt;The Clear button certainly has a Clear State set but I don't know how to see what the set is.&lt;/P&gt;&lt;P&gt;When I hit on "Clear" - actually nothing happens, it doesn't clear or change anything.&lt;/P&gt;&lt;P&gt;This is exactly what I want to achieve in my development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist me in creating the Clear State that will not clear anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, there are no triggers, bookmarks or macro applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975432#M955723</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2015-11-11T10:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975433#M955724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can take another sheen and copy that object and chk wheather it hve anythng?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975433#M955724</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2015-11-11T10:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975434#M955725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use your own clear set, but I think that is all you can do. Set a single clear state. May be what you were seeing was the cleared state and if you made any further selections, it would have taken to the previous selections before you made the most recent selections?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set clear state, make your selections and when you have your desired selections, click the drop down arrow to select Set Clear State:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="105132" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105132_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975434#M955725</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-11T10:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975435#M955726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can define your own clear state manually (see Sunnys answer) or define it automatically what I often use&lt;/P&gt;&lt;P&gt;todo so, the following macro is necessary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub DefineClearState&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ActiveDocument.SetClearState&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; end Sub &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;now you define on each sheet several set field conditions (Trigger on activate sheet) on and you want that pressing clear button goes back to same state when you enter sheet&lt;/P&gt;&lt;P&gt;then define your set fields etc. and as last Trigger Action define run macro "DefineClearState"&lt;/P&gt;&lt;P&gt;when you do that on every sheet you get individual clear states,&lt;/P&gt;&lt;P&gt;Advantage: whenever user is lost with selections he just presses clear button (alternatively Switch to other tab and back)&lt;/P&gt;&lt;P&gt;I suppose that you will not be able to see what the current clear state is defined&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975435#M955726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-11T10:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975436#M955727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the thing that there is a Clear State set somewhere and I don't know how to find out what's set in that state.&lt;/P&gt;&lt;P&gt;The behavior of the Clear button (it's not the developer button but the default document built-in button on the top of the screen - see attached screenshot) is that it doesn't influence on the selections! - it doesn't clear anything or change anything in the current selections.&lt;/P&gt;&lt;P&gt;Please assist me how to achieve the same behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975436#M955727</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2015-11-11T10:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975437#M955728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, in the screenshot you have attached the application has set a non-default clear state. To do that, make selections that you want to have as default and then click on 'Set Clear State' option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105142_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975437#M955728</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-11T10:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975438#M955729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rudolf, that's not what I see in my sample document in which the behavior is that Clear button doesn't change anything at all in the current selections, and that's exactly what I want to achieve.&lt;/P&gt;&lt;P&gt;As I understand, in your case I'll have to define a Clear State for every tab with specific selections for that tab that when a user will press on Clear, it will return to that selections, meaning that it will change current selections... Did I understand you correctly?&lt;/P&gt;&lt;P&gt;Anyway, could you maybe provide me a sample document with your Clear State implementation?&lt;/P&gt;&lt;P&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975438#M955729</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2015-11-11T10:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975439#M955730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I understand but the problem is that if I make certain selections and press on Set Clear State, then the Clear will always return to that specific selections, and I don't want it to happen cause I want the Clear button to not change anything in the current selections box...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975439#M955730</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2015-11-11T10:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975440#M955731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not an object but the default document Clear button in the menu on the top of the screen...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975440#M955731</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2015-11-11T10:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975441#M955732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the following Picture. that's all what you Need todo (you Need the macro from my first answer)&lt;/P&gt;&lt;P&gt;you define the fields as required and use last Action run macro&lt;/P&gt;&lt;P&gt;then, pressing dlear button will goback to those Settings (Attention: doesnot work not when user button with Action clear all is pressed). Only the Default Qlikview clear button is supported&lt;/P&gt;&lt;P&gt;post a small sample app and write which Settings you want to achieve and I can make the changes &lt;BR /&gt;(unfortunately I am not allowed to upload anything, I would Need to be in Office or home)&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105130_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 10:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975441#M955732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-11T10:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975442#M955733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be something connected to a field in the script that was added specially for Clear State, and then it was selected and Clear State was set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 13:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975442#M955733</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2015-11-11T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975443#M955734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what happens if you press "unlock and clear all" (triangle on right handside of clear button)&lt;/P&gt;&lt;P&gt;all fields should be cleared then&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 13:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975443#M955734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-11T13:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975444#M955735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, all fields are cleared even if I press just on "Clear All". There is no need to press on "Unlock and Clear All" since no fields are locked. There is definitely Clear State applied to "Clear" button only, and this Clear State makes Clear button to do nothing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 13:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975444#M955735</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2015-11-11T13:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975445#M955736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are there any macros in your app (Strg+M). If yes, are there any Subs for clearstate or clear?&lt;/P&gt;&lt;P&gt;can you send sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 13:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975445#M955736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-11T13:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Clear State behavior</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975446#M955737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, no macros connected to this issue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 13:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-State-behavior/m-p/975446#M955737</guid>
      <dc:creator>linoyel</dc:creator>
      <dc:date>2015-11-12T13:27:06Z</dc:date>
    </item>
  </channel>
</rss>

