<?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 Get Field row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147877#M26247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That won't work, because fld is pointed to a Field class and that class does not have an Item member.&lt;/P&gt;&lt;P&gt;fld.GetSelectedValues.Item(i).Text may work directly in your message box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2009 23:44:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-26T23:44:38Z</dc:date>
    <item>
      <title>Get Field row</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147874#M26244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have troubles with a VBscript function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function would have to print all the elements of a field, but I cannot find the right function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub print&lt;/P&gt;&lt;P&gt;set fld = ActiveDocument.GetField("Name")&lt;/P&gt;&lt;P&gt;msgBox("The field has" &amp;amp;fld.GetCardinal&amp;amp; "elements") 'with this, I know the number of the elements&lt;/P&gt;&lt;P&gt;(loop)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;set i=0&lt;/P&gt;&lt;P&gt;msgBox("The" &amp;amp; i &amp;amp; "elements is: ", &lt;STRONG&gt;?????&lt;/STRONG&gt;&lt;I&gt;.text) &lt;STRONG&gt;' What's the function? &amp;lt;&amp;lt;======&lt;/STRONG&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;set i=i+1&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;(end loop)&lt;/P&gt;&lt;P&gt;end sub&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, 26 Jun 2009 23:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147874#M26244</guid>
      <dc:creator />
      <dc:date>2009-06-26T23:29:32Z</dc:date>
    </item>
    <item>
      <title>Get Field row</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147875#M26245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the APIGuide:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;set val = ActiveDocument.Fields("Name").GetSelectedValues&lt;BR /&gt;for 1 = 0 to val.Count - 1&lt;BR /&gt; MsgBox(val.Item(i).Text)&lt;BR /&gt;next&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The Class is IArrayOfFieldValue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 23:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147875#M26245</guid>
      <dc:creator />
      <dc:date>2009-06-26T23:39:31Z</dc:date>
    </item>
    <item>
      <title>Get Field row</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147876#M26246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try fld.Item(i).Text&lt;/P&gt;&lt;P&gt;Talha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 23:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147876#M26246</guid>
      <dc:creator />
      <dc:date>2009-06-26T23:39:56Z</dc:date>
    </item>
    <item>
      <title>Get Field row</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147877#M26247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That won't work, because fld is pointed to a Field class and that class does not have an Item member.&lt;/P&gt;&lt;P&gt;fld.GetSelectedValues.Item(i).Text may work directly in your message box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 23:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147877#M26247</guid>
      <dc:creator />
      <dc:date>2009-06-26T23:44:38Z</dc:date>
    </item>
    <item>
      <title>Get Field row</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147878#M26248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see a member of Field that returns ALL the values if that's what you are after. However, you can use Evaluate to call the Qlikview FieldValue function.&lt;/P&gt;&lt;P&gt;msgbox ActiveDocument.Evaluate("FieldValue('Name'," &amp;amp;i &amp;amp;")")&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2009 01:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147878#M26248</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-27T01:03:33Z</dc:date>
    </item>
    <item>
      <title>Get Field row</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147879#M26249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, you are right, I don't want to use the "getselectedvalues" function, because I want to make a function indipendent from the user selection; besides, the "Item" function doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, I'll try soon the Evaluate method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2009 01:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147879#M26249</guid>
      <dc:creator />
      <dc:date>2009-06-27T01:29:28Z</dc:date>
    </item>
    <item>
      <title>Get Field row</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147880#M26250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GetPossibleValues() is another alternative&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2009 01:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Field-row/m-p/147880#M26250</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-06-27T01:47:37Z</dc:date>
    </item>
  </channel>
</rss>

