<?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: Getfield Selection value not available in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getfield-Selection-value-not-available/m-p/1614356#M734332</link>
    <description>&lt;P&gt;It's difficult to give a precise answer when I can see only a single line of code. I'm thinking that if the date doesn't exist, then nothing gets selected.&lt;/P&gt;&lt;P&gt;Maybe something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ActiveDocument.GetField("My Calendar field").Select "13"&lt;BR /&gt;&lt;/SPAN&gt;set val=ActiveDocument.Fields(&lt;SPAN&gt;"My Calendar field"&lt;/SPAN&gt;).GetSelectedValues&lt;BR /&gt;if val.Count &amp;gt;0 then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Your code to export here&amp;gt;&lt;BR /&gt;end if&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 14:04:38 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2019-08-20T14:04:38Z</dc:date>
    <item>
      <title>Getfield Selection value not available</title>
      <link>https://community.qlik.com/t5/QlikView/Getfield-Selection-value-not-available/m-p/1613951#M734328</link>
      <description>&lt;P&gt;I have used the following code to select a particular date. The issue here is, I am using a loop and export different selections for the same date, but if there is no date (i.e., the date which i have mentioned in my code "13") for a particular selection, it automatically exports all the date's data. Is there any solution for this.&lt;/P&gt;&lt;P&gt;ActiveDocument.GetField("My Calendar field").Select "13"&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfield-Selection-value-not-available/m-p/1613951#M734328</guid>
      <dc:creator>venkatasubramanian</dc:creator>
      <dc:date>2024-11-16T20:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getfield Selection value not available</title>
      <link>https://community.qlik.com/t5/QlikView/Getfield-Selection-value-not-available/m-p/1614213#M734330</link>
      <description>&lt;P&gt;I did not get the answer yet, please let me know if my question is not clear&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfield-Selection-value-not-available/m-p/1614213#M734330</guid>
      <dc:creator>venkatasubramanian</dc:creator>
      <dc:date>2019-08-20T11:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Getfield Selection value not available</title>
      <link>https://community.qlik.com/t5/QlikView/Getfield-Selection-value-not-available/m-p/1614356#M734332</link>
      <description>&lt;P&gt;It's difficult to give a precise answer when I can see only a single line of code. I'm thinking that if the date doesn't exist, then nothing gets selected.&lt;/P&gt;&lt;P&gt;Maybe something like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ActiveDocument.GetField("My Calendar field").Select "13"&lt;BR /&gt;&lt;/SPAN&gt;set val=ActiveDocument.Fields(&lt;SPAN&gt;"My Calendar field"&lt;/SPAN&gt;).GetSelectedValues&lt;BR /&gt;if val.Count &amp;gt;0 then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Your code to export here&amp;gt;&lt;BR /&gt;end if&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getfield-Selection-value-not-available/m-p/1614356#M734332</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-08-20T14:04:38Z</dc:date>
    </item>
  </channel>
</rss>

