<?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 How can I unapply a bookmark ?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-unapply-a-bookmark/m-p/300097#M111143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys, I'm doing a little dummy macro with bookmarks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want to apply a bookmark into the document is quite easy :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.RecallDocBookmark "MyBookMark"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if I want to undo the bookmark selection??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've recently discovered that if you write &lt;STRONG&gt;ActiveDocument.ClearDocBookmarks&lt;/STRONG&gt;, &lt;SPAN style="color: #333333; text-decoration: underline;"&gt;it doesn't really "&lt;STRONG&gt;clear&lt;/STRONG&gt;" the bookmarks, it &lt;STRONG&gt;removes &lt;/STRONG&gt;the bookmarks&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what If I have a selection,&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt; I want to apply a bookmark, do some stuff and unapply the same bookmark&lt;/EM&gt;&lt;/SPAN&gt;. How can I do this???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 May 2011 00:54:46 GMT</pubDate>
    <dc:creator>marcel_olmo</dc:creator>
    <dc:date>2011-05-15T00:54:46Z</dc:date>
    <item>
      <title>How can I unapply a bookmark ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-unapply-a-bookmark/m-p/300097#M111143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys, I'm doing a little dummy macro with bookmarks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want to apply a bookmark into the document is quite easy :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.RecallDocBookmark "MyBookMark"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what if I want to undo the bookmark selection??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've recently discovered that if you write &lt;STRONG&gt;ActiveDocument.ClearDocBookmarks&lt;/STRONG&gt;, &lt;SPAN style="color: #333333; text-decoration: underline;"&gt;it doesn't really "&lt;STRONG&gt;clear&lt;/STRONG&gt;" the bookmarks, it &lt;STRONG&gt;removes &lt;/STRONG&gt;the bookmarks&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what If I have a selection,&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt; I want to apply a bookmark, do some stuff and unapply the same bookmark&lt;/EM&gt;&lt;/SPAN&gt;. How can I do this???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2011 00:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-unapply-a-bookmark/m-p/300097#M111143</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2011-05-15T00:54:46Z</dc:date>
    </item>
    <item>
      <title>How can I unapply a bookmark ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-unapply-a-bookmark/m-p/300098#M111144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps, you could use a macro to have the same behavior as the back button. So you go back one selection. &lt;/P&gt;&lt;P&gt;I may not be enought if the stuff you do makes more selections. &lt;/P&gt;&lt;P&gt;In this case, you could create another bookmark with the selections before you apply your bookmark. Do your stuff, then apply the first bookmark you created and delete it if you don't want to keep it permanently. (may be you don't need to remove it) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will all depend on the things you want to do in the mean time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, let me know if it works for you. &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;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 May 2011 01:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-unapply-a-bookmark/m-p/300098#M111144</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-15T01:28:47Z</dc:date>
    </item>
    <item>
      <title>How can I unapply a bookmark ??</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-unapply-a-bookmark/m-p/300099#M111145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich, thanks very much for listen to me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is the solution that it works to me :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Save an array with current selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- Apply the bookmark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- Save an array with new current selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4-Make the subtraction of the old and new array. Clear the fields of new array and re-select the fields of old array (with their own values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 08:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-unapply-a-bookmark/m-p/300099#M111145</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2011-05-23T08:04:46Z</dc:date>
    </item>
  </channel>
</rss>

