<?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: Document Reports in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/280998#M104537</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 try the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set reps = ActiveDocument.GetDocReports&lt;/P&gt;&lt;P&gt;msgbox(reps.Count)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ri = ActiveDocument.GetDocReportInfo&lt;/P&gt;&lt;P&gt;for &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i = 0 to ri.Count-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set r = ri.Item(i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(r.Id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(r.Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(r.PageCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleasre refer to the APIGuide for some additional info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2011 07:53:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-28T07:53:41Z</dc:date>
    <item>
      <title>Document Reports</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/280997#M104536</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;just wondering, Is it possible to pass the information about the available document reports(reportID,reportname and number of pages) created in a qlikview app&amp;nbsp; to a table??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load reportID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reportName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pages&lt;/P&gt;&lt;P&gt;From Documentreports;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 06:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/280997#M104536</guid>
      <dc:creator />
      <dc:date>2011-10-28T06:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Document Reports</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/280998#M104537</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 try the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set reps = ActiveDocument.GetDocReports&lt;/P&gt;&lt;P&gt;msgbox(reps.Count)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ri = ActiveDocument.GetDocReportInfo&lt;/P&gt;&lt;P&gt;for &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i = 0 to ri.Count-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set r = ri.Item(i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(r.Id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(r.Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(r.PageCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleasre refer to the APIGuide for some additional info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 07:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/280998#M104537</guid>
      <dc:creator />
      <dc:date>2011-10-28T07:53:41Z</dc:date>
    </item>
    <item>
      <title>Document Reports</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/280999#M104538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. Is there a way to pass the report info (reportId,reportname and pages) to a table??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cause I want my user/s to select a particular report to print that is listed in a listbox. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="multibox.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/8157_multibox.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 08:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/280999#M104538</guid>
      <dc:creator />
      <dc:date>2011-10-28T08:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Document Reports</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/281000#M104539</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 use the follwing functions in load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;ReportComment(&lt;/SPAN&gt;&lt;SPAN class="hcp2"&gt;report_number&lt;/SPAN&gt;&lt;SPAN class="hcp1"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;Returns the comment of the report with the specified number within the active document.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;ReportName(&lt;/SPAN&gt;&lt;SPAN class="hcp2"&gt;report_number&lt;/SPAN&gt;&lt;SPAN class="hcp1"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;Returns the name of the report with the specified number within the active document.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;&lt;SPAN style="background-color: #316ac5; color: #ffffff;"&gt;ReportID&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="hcp2"&gt;report_number&lt;/SPAN&gt;&lt;SPAN class="hcp1"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;Returns the id of the report with the specified number within the active document.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;ReportNumber(&lt;/SPAN&gt;&lt;SPAN class="hcp2"&gt;report_id_or_name&lt;/SPAN&gt;&lt;SPAN class="hcp1"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;Returns the number of the report with the specified id or name within the active document.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;NoOfReports()&lt;/SPAN&gt;&lt;BR /&gt;Returns the number of reports in the active document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the below exampl:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load NoOfReports() as nrpts autogenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load reportid(1) as rptnumb autogenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to get no of reports into a variable and loop through to get all the reportids or names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 08:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/281000#M104539</guid>
      <dc:creator />
      <dc:date>2011-10-28T08:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Document Reports</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/281001#M104540</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;Please see the attached sample may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 08:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/281001#M104540</guid>
      <dc:creator />
      <dc:date>2011-10-28T08:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Document Reports</title>
      <link>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/281002#M104541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;BlackRockS wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the follwing functions in load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;ReportComment(&lt;/SPAN&gt;&lt;SPAN class="hcp2"&gt;report_number&lt;/SPAN&gt;&lt;SPAN class="hcp1"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;Returns the comment of the report with the specified number within the active document.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;ReportName(&lt;/SPAN&gt;&lt;SPAN class="hcp2"&gt;report_number&lt;/SPAN&gt;&lt;SPAN class="hcp1"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;Returns the name of the report with the specified number within the active document.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;&lt;SPAN style="background-color: #316ac5; color: #ffffff;"&gt;ReportID&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="hcp2"&gt;report_number&lt;/SPAN&gt;&lt;SPAN class="hcp1"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;Returns the id of the report with the specified number within the active document.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;ReportNumber(&lt;/SPAN&gt;&lt;SPAN class="hcp2"&gt;report_id_or_name&lt;/SPAN&gt;&lt;SPAN class="hcp1"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;Returns the number of the report with the specified id or name within the active document.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hcp1"&gt;NoOfReports()&lt;/SPAN&gt;&lt;BR /&gt;Returns the number of reports in the active document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the below exampl:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load NoOfReports() as nrpts autogenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load reportid(1) as rptnumb autogenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to get no of reports into a variable and loop through to get all the reportids or names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for this info!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 09:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-Reports/m-p/281002#M104541</guid>
      <dc:creator />
      <dc:date>2011-10-28T09:05:02Z</dc:date>
    </item>
  </channel>
</rss>

