<?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 QlikView Macro for TableBox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Macro-for-TableBox/m-p/672246#M244163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a table box automatically using a macro. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of fields already and I want to add these fields to the table box through a macro. As suggested in the API guide, it is not possible to manually add all the fields using addfield "Class" etc. Please suggest me a way for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 12:02:39 GMT</pubDate>
    <dc:creator>NareshGuntur</dc:creator>
    <dc:date>2014-10-07T12:02:39Z</dc:date>
    <item>
      <title>QlikView Macro for TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Macro-for-TableBox/m-p/672246#M244163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a table box automatically using a macro. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list of fields already and I want to add these fields to the table box through a macro. As suggested in the API guide, it is not possible to manually add all the fields using addfield "Class" etc. Please suggest me a way for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Macro-for-TableBox/m-p/672246#M244163</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2014-10-07T12:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Macro for TableBox</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Macro-for-TableBox/m-p/672247#M244164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got this and it works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set mybox = ActiveDocument.GetSheetObject("M001")&lt;/P&gt;&lt;P&gt;MB = mybox.GetProperties&lt;/P&gt;&lt;P&gt;MB.Layout.Frame.Name.v=ActiveDocument.Variables("Variable1").GetContent.String&lt;/P&gt;&lt;P&gt;mybox.SetProperties MB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; set MB = ActiveDocument.GetSheetObject("MB001")&lt;/P&gt;&lt;P&gt; For i = 0 to MB.GetRowcount - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; MB.RemoveField 0&lt;/P&gt;&lt;P&gt; next&lt;/P&gt;&lt;P&gt; For i = 0 to GeoLabel.count - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; MB.AddField GeoSelection.Item(i).text&lt;/P&gt;&lt;P&gt;&amp;nbsp; mbp = MB.GetProperties&lt;/P&gt;&lt;P&gt;&amp;nbsp; mbp.MemberAttributes.Item(i).Label.v = FieldLabel.item(i).text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MB.SetProperties mbp&lt;/P&gt;&lt;P&gt; Next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 11:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Macro-for-TableBox/m-p/672247#M244164</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2015-05-18T11:00:51Z</dc:date>
    </item>
  </channel>
</rss>

