<?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 Clear selection on single sheet - possible? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204365#M874500</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 5 sheets.&amp;nbsp; Every time the user goes to sheet 1, I want to clear all the selection on this sheet only&lt;/P&gt;&lt;P&gt;and leaving the other sheets unaffected.&amp;nbsp; Is this possible?&amp;nbsp; When I setup a trigger on sheet 1 and chose "Clear All", it&lt;/P&gt;&lt;P&gt;cleared the selections on all the sheets which isn't what&amp;nbsp; I want to do.&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, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Clear selection on single sheet - possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204365#M874500</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 5 sheets.&amp;nbsp; Every time the user goes to sheet 1, I want to clear all the selection on this sheet only&lt;/P&gt;&lt;P&gt;and leaving the other sheets unaffected.&amp;nbsp; Is this possible?&amp;nbsp; When I setup a trigger on sheet 1 and chose "Clear All", it&lt;/P&gt;&lt;P&gt;cleared the selections on all the sheets which isn't what&amp;nbsp; I want to do.&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, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204365#M874500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clear selection on single sheet - possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204366#M874501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;A href="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Alternate%20States.htm" title="http://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/Alternate%20States.htm"&gt;Alternate States&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 20:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204366#M874501</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-11-01T20:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clear selection on single sheet - possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204367#M874502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure, There is direct way. But you can try Sheet activated&amp;nbsp; with Clear All action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using macro, you may can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sub RemoveOnlyOneSelected&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set QvObj=Activedocument.GetSheetObject("CH01")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set A=QvObj.GetField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set FieldProp=A.GetProperties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldProp.OneAndOnlyOne=False&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A.SetProperties FieldProp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.ClearAll True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;End Sub&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 20:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204367#M874502</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-01T20:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Clear selection on single sheet - possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204368#M874503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil,&lt;/P&gt;&lt;P&gt;If I'm reading your code correctly, that looks like it's for a specific object.&amp;nbsp; How do you operate on sheet level?&amp;nbsp; I don't see sheet being an object when I looked at document properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 20:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204368#M874503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-01T20:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Clear selection on single sheet - possible?</title>
      <link>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204369#M874504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested out your snippet.&amp;nbsp; It turns out your code will clear all sections not just one object, ex: CH01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked further into the QV API and found the solution and this works for me.&amp;nbsp; All I need is to execute one&lt;/P&gt;&lt;P&gt;of these lines.&amp;nbsp; First one clears everything but "year".&amp;nbsp; Second clears "year" only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("year").ClearAllButThis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("year").Clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought I post this back.&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, 02 Nov 2016 00:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Clear-selection-on-single-sheet-possible/m-p/1204369#M874504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T00:01:42Z</dc:date>
    </item>
  </channel>
</rss>

