<?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 Creating a table box for selected table using macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-table-box-for-selected-table-using-macro/m-p/256630#M1184185</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;We have written below macro to get the selected value from the object. Now basically Field: Table contains the table names. Now I would like to create the table bow with the fields that are available in the selected table. Can some one please help me on that? It is very urgent.&lt;/P&gt;&lt;P&gt;Hope my requirement is understandable, if not please let me know your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sub ShowRecord&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; SET objDoc = ActiveDocument&lt;BR /&gt; &lt;BR /&gt; SET myfield = ActiveDocument.Fields("Table").GetPossibleValues&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; X = myfield.Item(i).Text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox X&lt;BR /&gt; &lt;BR /&gt;End Sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Nov 2011 10:25:55 GMT</pubDate>
    <dc:creator>qlikviewforum</dc:creator>
    <dc:date>2011-11-25T10:25:55Z</dc:date>
    <item>
      <title>Creating a table box for selected table using macro</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-table-box-for-selected-table-using-macro/m-p/256630#M1184185</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;We have written below macro to get the selected value from the object. Now basically Field: Table contains the table names. Now I would like to create the table bow with the fields that are available in the selected table. Can some one please help me on that? It is very urgent.&lt;/P&gt;&lt;P&gt;Hope my requirement is understandable, if not please let me know your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sub ShowRecord&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; SET objDoc = ActiveDocument&lt;BR /&gt; &lt;BR /&gt; SET myfield = ActiveDocument.Fields("Table").GetPossibleValues&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; X = myfield.Item(i).Text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox X&lt;BR /&gt; &lt;BR /&gt;End Sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 10:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-table-box-for-selected-table-using-macro/m-p/256630#M1184185</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2011-11-25T10:25:55Z</dc:date>
    </item>
  </channel>
</rss>

