<?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 Action to clear fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435275#M162270</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 need to set up an action on some buttons to clear some fields, eg..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to clear the following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WO_RespondByDate&lt;/P&gt;&lt;P&gt;WO_RespondByMonth&lt;/P&gt;&lt;P&gt;WO_RespondByYear&lt;/P&gt;&lt;P&gt;WO_RespondByQuarter&lt;/P&gt;&lt;P&gt;WO_RespondByPeriod&lt;/P&gt;&lt;P&gt;WO_RespondByDay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know i can list these individually and set up 6 actions but i was wondering if there was a way i can use something like the wildmatch function which will just clear any field starting with WO_RespondBy*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible or do i need to list them seperately. &lt;/P&gt;&lt;P&gt;I'm not sure if having more actions will affect the performance (i already have 5 actions on the button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jun 2013 08:19:15 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2013-06-04T08:19:15Z</dc:date>
    <item>
      <title>Action to clear fields</title>
      <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435275#M162270</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 need to set up an action on some buttons to clear some fields, eg..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to clear the following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WO_RespondByDate&lt;/P&gt;&lt;P&gt;WO_RespondByMonth&lt;/P&gt;&lt;P&gt;WO_RespondByYear&lt;/P&gt;&lt;P&gt;WO_RespondByQuarter&lt;/P&gt;&lt;P&gt;WO_RespondByPeriod&lt;/P&gt;&lt;P&gt;WO_RespondByDay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know i can list these individually and set up 6 actions but i was wondering if there was a way i can use something like the wildmatch function which will just clear any field starting with WO_RespondBy*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible or do i need to list them seperately. &lt;/P&gt;&lt;P&gt;I'm not sure if having more actions will affect the performance (i already have 5 actions on the button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 08:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435275#M162270</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2013-06-04T08:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Action to clear fields</title>
      <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435276#M162271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anybody have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 09:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435276#M162271</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2013-06-04T09:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Action to clear fields</title>
      <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435277#M162272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, thanks for the reply. but thats not what i want. &lt;/P&gt;&lt;P&gt;i have 4 buttons that relate to different date fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RespondByDate&lt;/P&gt;&lt;P&gt;CompletedDate&lt;/P&gt;&lt;P&gt;RaisedDate&lt;/P&gt;&lt;P&gt;SoldDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the CompletedDate button is clicked it passes the values of the 6 static date fields (from a date island) Date, Month, Year, Period etc to 6 variables then theres more actions that that assign the variable values to the CompletedDate Fields (CompletedDate, CompletedMonth, CompletedYear etc). the problem i have is that if i first make selections and select completedDate, i will have current selections on the completedDate fields, if i then click RaisedDate, i will then have selections on both CompletedDate and RaisedDate whereas i would only want selections on RaisedDate. &lt;/P&gt;&lt;P&gt;So i need to have an action that will clear all selections on the CompletedDate fields before applying them to RaisedDate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 09:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435277#M162272</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2013-06-04T09:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Action to clear fields</title>
      <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435278#M162273</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a macro by specifying the clear filelds and call the macro from the button click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Sub ClearSpecificFields&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Call this macro from a button clcik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;WO_RespondByDate&lt;/SPAN&gt;").ClearAll&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;WO_RespondByMonth&lt;/SPAN&gt;").ClearAll&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;WO_RespondByYear&lt;/SPAN&gt;").ClearAll&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;WO_RespondByQuarter&lt;/SPAN&gt;").ClearAll&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;WO_RespondByPeriod&lt;/SPAN&gt;").ClearAll&lt;/P&gt;&lt;P&gt;ActiveDocument.Fields("&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;WO_RespondByDay&lt;/SPAN&gt;").ClearAll&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hope it will solve your problem.&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;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 10:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435278#M162273</guid>
      <dc:creator />
      <dc:date>2013-06-04T10:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Action to clear fields</title>
      <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435279#M162274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro really is no different then setting up individual actions. &lt;/P&gt;&lt;P&gt;I thought there might have been a way to use a function like the wildmatch that will clear all fields starting with WO_RespondBy*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 10:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435279#M162274</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2013-06-04T10:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Action to clear fields</title>
      <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435280#M162275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can use wildmatch in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I doubt it would the performance would be better even if you could&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 10:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435280#M162275</guid>
      <dc:creator />
      <dc:date>2013-06-04T10:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Action to clear fields</title>
      <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435281#M162276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thanks, i will just creat seperate actions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 10:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435281#M162276</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2013-06-04T10:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Action to clear fields</title>
      <link>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435282#M162277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;this can be annoying, i wrote a code that will only clear the fields that are selected, you can check this qvw, this also allows you to just list those fields in an island instead of repeating code. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 13:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Action-to-clear-fields/m-p/435282#M162277</guid>
      <dc:creator>yakir_manor</dc:creator>
      <dc:date>2017-10-08T13:51:08Z</dc:date>
    </item>
  </channel>
</rss>

