<?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 variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variables/m-p/151829#M501506</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;Actual problem i am trying to print the data in the table to textobject . The table has more than one row.&lt;/P&gt;&lt;P&gt;Is there any i can print the value of a table directly in to the text object using macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2011 17:09:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-09T17:09:41Z</dc:date>
    <item>
      <title>variables</title>
      <link>https://community.qlik.com/t5/QlikView/variables/m-p/151827#M501504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is it possible to set the variable with more than one value using the set content through vbscript/macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 16:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables/m-p/151827#M501504</guid>
      <dc:creator />
      <dc:date>2011-03-09T16:44:33Z</dc:date>
    </item>
    <item>
      <title>variables</title>
      <link>https://community.qlik.com/t5/QlikView/variables/m-p/151828#M501505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;One variable will always store only one value. Despite this, you can set a variable to get the value stored formatted so it can be later used in an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SET vLetters = 'A','B','C';&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So there's only one value, but formatted so it can be used in some functions or set analysis.&lt;/P&gt;&lt;P&gt;If you mean you want to keep the value stored in one variable and append to it some other value, try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub AddLetters Set v = ActiveDocument.Variables("vLetters") vOld = v.GetContent.String vNew = "'D'" v.SetContent vOld &amp;amp; "," &amp;amp; vNew, trueEnd Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Or better use one Action, External, Set Variable, the name of the variable and the value to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=vLetters &amp;amp; chr(44) &amp;amp; chr(39) &amp;amp; 'E' &amp;amp; chr(39) // Will add ",'E'"&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 16:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables/m-p/151828#M501505</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-09T16:58:03Z</dc:date>
    </item>
    <item>
      <title>variables</title>
      <link>https://community.qlik.com/t5/QlikView/variables/m-p/151829#M501506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt;Actual problem i am trying to print the data in the table to textobject . The table has more than one row.&lt;/P&gt;&lt;P&gt;Is there any i can print the value of a table directly in to the text object using macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 17:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables/m-p/151829#M501506</guid>
      <dc:creator />
      <dc:date>2011-03-09T17:09:41Z</dc:date>
    </item>
    <item>
      <title>variables</title>
      <link>https://community.qlik.com/t5/QlikView/variables/m-p/151830#M501507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that someting like...&lt;/P&gt;&lt;P&gt;sub tst41&lt;BR /&gt; 'get a field to iterate throught values&lt;BR /&gt; set graphIdField = ActiveDocument.Fields("graphId")&lt;BR /&gt; set graphIdVals = graphIdField.GetPossibleValues&lt;BR /&gt;&lt;BR /&gt; 'create an empty string&lt;BR /&gt; str = ""&lt;BR /&gt; For i=0 to graphIdVals.Count-1&lt;BR /&gt; 'concatenate the value of the string to this string&lt;BR /&gt; str = str &amp;amp; " " &amp;amp; graphIdVals.Item(i).Text&lt;BR /&gt; next&lt;BR /&gt;&lt;BR /&gt; 'setting the value to the variable used in the text object&lt;BR /&gt; set var = ActiveDocument.getVariable("vText")&lt;BR /&gt; var.setContent str, false&lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 17:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables/m-p/151830#M501507</guid>
      <dc:creator />
      <dc:date>2011-03-09T17:14:53Z</dc:date>
    </item>
    <item>
      <title>variables</title>
      <link>https://community.qlik.com/t5/QlikView/variables/m-p/151831#M501508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Renaud.Charlet,&lt;/P&gt;&lt;P&gt;This gave me some idea and i am able to get the required solution . &lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 19:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables/m-p/151831#M501508</guid>
      <dc:creator />
      <dc:date>2011-03-09T19:12:44Z</dc:date>
    </item>
  </channel>
</rss>

