<?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: How can I know wich table is active inside a conteiner? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-know-wich-table-is-active-inside-a-conteiner/m-p/645040#M236410</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;You can get the current selected object with the macro:&lt;/P&gt;&lt;P&gt;Set ContainerObj = ActiveDocument.GetSheetObject("CT01")&lt;/P&gt;&lt;P&gt;set ContProp=ContainerObj.GetProperties &lt;/P&gt;&lt;P&gt;ActiveObject=ContProp.SingleObjectActiveIndex&lt;/P&gt;&lt;P&gt;msgbox("Active Object=" &amp;amp; ActiveObject &amp;amp; " Id=" &amp;amp; ContProp.ContainedObjects.Item(ActiveObject).Id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But It seems there is no suitable trigger to use it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd better to use separate objects and emulate the container logic with variables. So that you can use the same conditions to show the appropriate listbox. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2014 21:47:19 GMT</pubDate>
    <dc:creator>whiteline</dc:creator>
    <dc:date>2014-05-23T21:47:19Z</dc:date>
    <item>
      <title>How can I know wich table is active inside a conteiner?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-know-wich-table-is-active-inside-a-conteiner/m-p/645039#M236409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a conteiner with three tables and beside one selection box.&lt;/P&gt;&lt;P&gt;I wanna see in this selection box, only the fields regarding with the respective table.&lt;/P&gt;&lt;P&gt;I think the best option would be creating three diferents slection box knowing wich table is active and hiding the other two selection box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that makes sense or has another easier way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case not, how can I know wich table is current being showed to the user?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 17:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-know-wich-table-is-active-inside-a-conteiner/m-p/645039#M236409</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2014-05-23T17:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I know wich table is active inside a conteiner?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-know-wich-table-is-active-inside-a-conteiner/m-p/645040#M236410</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;You can get the current selected object with the macro:&lt;/P&gt;&lt;P&gt;Set ContainerObj = ActiveDocument.GetSheetObject("CT01")&lt;/P&gt;&lt;P&gt;set ContProp=ContainerObj.GetProperties &lt;/P&gt;&lt;P&gt;ActiveObject=ContProp.SingleObjectActiveIndex&lt;/P&gt;&lt;P&gt;msgbox("Active Object=" &amp;amp; ActiveObject &amp;amp; " Id=" &amp;amp; ContProp.ContainedObjects.Item(ActiveObject).Id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But It seems there is no suitable trigger to use it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd better to use separate objects and emulate the container logic with variables. So that you can use the same conditions to show the appropriate listbox. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 21:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-know-wich-table-is-active-inside-a-conteiner/m-p/645040#M236410</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-05-23T21:47:19Z</dc:date>
    </item>
  </channel>
</rss>

