<?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 Does chart have records in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Does-chart-have-records/m-p/521594#M194917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart the uses a set analysis to trap exceptions. I send this chart to excel and then email the excel file to a users to review the exceptions. This is all automated on reload. If the chart has no records (there are no exceptions today) I do not want to email an empty excel file. How do I determine if a chart has any records?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 16:41:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-07T16:41:11Z</dc:date>
    <item>
      <title>Does chart have records</title>
      <link>https://community.qlik.com/t5/QlikView/Does-chart-have-records/m-p/521594#M194917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart the uses a set analysis to trap exceptions. I send this chart to excel and then email the excel file to a users to review the exceptions. This is all automated on reload. If the chart has no records (there are no exceptions today) I do not want to email an empty excel file. How do I determine if a chart has any records?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 16:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-chart-have-records/m-p/521594#M194917</guid>
      <dc:creator />
      <dc:date>2013-10-07T16:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Does chart have records</title>
      <link>https://community.qlik.com/t5/QlikView/Does-chart-have-records/m-p/521595#M194918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Figured it out. Using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("CH01")&lt;BR /&gt;set v = ActiveDocument.Variables("vCountRecords")&lt;BR /&gt;&amp;nbsp; v.SetContent&amp;nbsp; obj.GetRowCount,true&lt;/P&gt;&lt;P&gt;if v.GetContent.string = 2 then&lt;BR /&gt;msgbox ("Don't Send Email")&lt;BR /&gt;else&lt;BR /&gt;msgbox ("Send Email")&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2 record count represent the caption and the totals line in the straight table, so only if there are 3 or more records is the actual data in the table.&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 18:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Does-chart-have-records/m-p/521595#M194918</guid>
      <dc:creator />
      <dc:date>2013-10-07T18:01:08Z</dc:date>
    </item>
  </channel>
</rss>

