<?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: Make sure initial state is always set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589422#M218574</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;It is not useful to check the content of a field, I want to check the initial state is set correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this, I need means to trigger the initial state, and only then thereafter I should check the field content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 15:29:39 GMT</pubDate>
    <dc:creator>hugmarcel</dc:creator>
    <dc:date>2014-01-30T15:29:39Z</dc:date>
    <item>
      <title>Make sure initial state is always set</title>
      <link>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589420#M218572</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 have defined an initial state in the menu bar, e.g. field1 = 'x' and field2 = 'y'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make sure the initial state is always defined correctly for these 2 fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My experience is that the initial state gets lost sometimes after reloading the doc via script. I then have to redefine the state, but sometimes&lt;/P&gt;&lt;P&gt;I forget to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; It does not work with bookmarks, as bookmark will not be fired when enduser clicks the intial state button.&lt;/P&gt;&lt;P&gt;-&amp;gt; I cannot trigger the initial state with an action, and then i.e. check the =GetCurrentSelections() content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 14:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589420#M218572</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-01-30T14:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Make sure initial state is always set</title>
      <link>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589421#M218573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcel,&lt;/P&gt;&lt;P&gt;Did you try action "select in field"? (on open and on post reload)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 15:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589421#M218573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-30T15:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Make sure initial state is always set</title>
      <link>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589422#M218574</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;It is not useful to check the content of a field, I want to check the initial state is set correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this, I need means to trigger the initial state, and only then thereafter I should check the field content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 15:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589422#M218574</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2014-01-30T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Make sure initial state is always set</title>
      <link>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589423#M218575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it about "Clear State"?&amp;nbsp; First I thought you meant "initial selections".&lt;/P&gt;&lt;P&gt;So, if you want to trigger this state, you can use macro. This should work, it doesn't clear all but applies "Clear State":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub ClearState&lt;/P&gt;&lt;P&gt; ActiveDocument.Clear&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that you can check the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-sure-initial-state-is-always-set/m-p/589423#M218575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-30T18:52:25Z</dc:date>
    </item>
  </channel>
</rss>

