<?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 to select a field with alternate state using a macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354272#M131490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to select a field with alternate state using a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following statement works for the field with default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ActiveDocument.Fields("Aisle").Select&amp;nbsp; "Aisle1",true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to extend this to be used with an alternate state called "State1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following but no luck so far;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ActiveDocument.Fields("State1::Aisle").Select&amp;nbsp; "Aisle1",true&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ActiveDocument.Fields("{State1}Aisle").Select&amp;nbsp; "Aisle1",true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone shed some light here pls.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2012 01:51:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-15T01:51:44Z</dc:date>
    <item>
      <title>How to select a field with alternate state using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354272#M131490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to select a field with alternate state using a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following statement works for the field with default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ActiveDocument.Fields("Aisle").Select&amp;nbsp; "Aisle1",true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to extend this to be used with an alternate state called "State1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following but no luck so far;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ActiveDocument.Fields("State1::Aisle").Select&amp;nbsp; "Aisle1",true&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ActiveDocument.Fields("{State1}Aisle").Select&amp;nbsp; "Aisle1",true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone shed some light here pls.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 01:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354272#M131490</guid>
      <dc:creator />
      <dc:date>2012-06-15T01:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a field with alternate state using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354273#M131491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;...Better late than never.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Either of the below lines should work for you:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;ActiveDocument.GetField("Aisle", "State1").Select "Aisle1", True&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;ActiveDocument.Fields("Aisle", "State1").Select "Aisle1", True&lt;/DIV&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 18:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354273#M131491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-07T18:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a field with alternate state using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354274#M131492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you a million times for this mchasse1, it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 22:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354274#M131492</guid>
      <dc:creator />
      <dc:date>2012-08-08T22:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a field with alternate state using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354275#M131493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A late thank you mchasse!&amp;nbsp; Really useful - why they can't put this in the documentation or at least the API Guide is beyond me!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 11:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354275#M131493</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2012-11-08T11:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a field with alternate state using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354276#M131494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mike.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of morbid curiosity, where would one locate this information in documentation??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 13:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354276#M131494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-07T13:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a field with alternate state using a macro</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354277#M131495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mike, I will be able to sleep tonight now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 14:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-select-a-field-with-alternate-state-using-a-macro/m-p/354277#M131495</guid>
      <dc:creator />
      <dc:date>2014-09-15T14:00:35Z</dc:date>
    </item>
  </channel>
</rss>

