<?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 Storing values in a Variable in macro code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063625#M355783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;I have written a macro code to send a service SMS to customers. I have used a Variable 'var' in macro that stores the mobile nos. of customers. These mobile nos. are picked from a field named 'Mobile' that is present in the data model.&lt;/P&gt;&lt;P&gt;My concern is when this variable 'var' stores only 100 records. Thus when 'Mobile field has more than 100 records, the SMS is sent only to 100 customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer following code that I used to store values in variable 'var' :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #993300;"&gt;Set val=ActiveDocument.Fields("Mobile").GetPossibleValues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide me a solution by which I can store more records in a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 07:35:52 GMT</pubDate>
    <dc:creator>rohan_mulay</dc:creator>
    <dc:date>2016-03-14T07:35:52Z</dc:date>
    <item>
      <title>Storing values in a Variable in macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063625#M355783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;I have written a macro code to send a service SMS to customers. I have used a Variable 'var' in macro that stores the mobile nos. of customers. These mobile nos. are picked from a field named 'Mobile' that is present in the data model.&lt;/P&gt;&lt;P&gt;My concern is when this variable 'var' stores only 100 records. Thus when 'Mobile field has more than 100 records, the SMS is sent only to 100 customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer following code that I used to store values in variable 'var' :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #993300;"&gt;Set val=ActiveDocument.Fields("Mobile").GetPossibleValues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide me a solution by which I can store more records in a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 07:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063625#M355783</guid>
      <dc:creator>rohan_mulay</dc:creator>
      <dc:date>2016-03-14T07:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Storing values in a Variable in macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063626#M355784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no limitation to a variable and/or a field t 100 entries. I think your limitation is more from your provider to avoid spamming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063626#M355784</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-03-14T12:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Storing values in a Variable in macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063627#M355785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is a limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same issue two years ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution is very simple. The function &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #993300;"&gt;GetPossibleValues &lt;/STRONG&gt;has two optional parameters.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The first one define the maximum number of returned values (default is 100)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-03-14 13_36_26-QlikView x64 - [API Guide version 11_].png" class="jive-image image-1" src="/legacyfs/online/117901_2016-03-14 13_36_26-QlikView x64 - [API Guide version 11_].png" style="height: 68px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Use for example:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #993300;"&gt;Set val=ActiveDocument.Fields("Mobile").GetPossibleValues(1000)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063627#M355785</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-14T12:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Storing values in a Variable in macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063628#M355786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very interesting - I have never noticed this limitation probably because the fields was already limited through other selections and most often I use tableboxes to get my values, like: &lt;A href="https://community.qlik.com/message/932331"&gt;Re: vb scrip to display name&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 13:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063628#M355786</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-03-14T13:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Storing values in a Variable in macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063629#M355787</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 validate the correct answer to help others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 12:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1063629#M355787</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-18T12:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Storing values in a Variable in macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1574908#M442454</link>
      <description>Please share the complete code of macro.</description>
      <pubDate>Tue, 30 Apr 2019 09:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Storing-values-in-a-Variable-in-macro-code/m-p/1574908#M442454</guid>
      <dc:creator>anilkumarmishra</dc:creator>
      <dc:date>2019-04-30T09:26:59Z</dc:date>
    </item>
  </channel>
</rss>

