<?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 learning API in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/learning-API/m-p/183915#M505366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would to learn some thing about QV Macros.&lt;/P&gt;&lt;P&gt;I create the wrond script and I need some one could to correct the scrip I wrote.&lt;/P&gt;&lt;P&gt;Please I would to have one msg box with 2 line write into.&lt;/P&gt;&lt;P&gt;The event is join to a button. If I press the button the msgbox appears and gets me the the result. I used the For loop to learn how QV works in API script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub Message&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set v=ActiveDocument.Variables(2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR a=0 to v.GetContent.Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.Getapplication.MsgBox("Fine Conteggio ")&amp;amp; v.GetContent.Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Next&lt;BR /&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2009 19:48:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-11T19:48:24Z</dc:date>
    <item>
      <title>learning API</title>
      <link>https://community.qlik.com/t5/QlikView/learning-API/m-p/183915#M505366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would to learn some thing about QV Macros.&lt;/P&gt;&lt;P&gt;I create the wrond script and I need some one could to correct the scrip I wrote.&lt;/P&gt;&lt;P&gt;Please I would to have one msg box with 2 line write into.&lt;/P&gt;&lt;P&gt;The event is join to a button. If I press the button the msgbox appears and gets me the the result. I used the For loop to learn how QV works in API script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub Message&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set v=ActiveDocument.Variables(2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR a=0 to v.GetContent.Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.Getapplication.MsgBox("Fine Conteggio ")&amp;amp; v.GetContent.Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Next&lt;BR /&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 19:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/learning-API/m-p/183915#M505366</guid>
      <dc:creator />
      <dc:date>2009-09-11T19:48:24Z</dc:date>
    </item>
    <item>
      <title>learning API</title>
      <link>https://community.qlik.com/t5/QlikView/learning-API/m-p/183916#M505367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what's your question?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 19:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/learning-API/m-p/183916#M505367</guid>
      <dc:creator />
      <dc:date>2009-09-11T19:55:03Z</dc:date>
    </item>
    <item>
      <title>learning API</title>
      <link>https://community.qlik.com/t5/QlikView/learning-API/m-p/183917#M505368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;sorry for my english. however I would to learn a script with the button, for loop msgBox.&lt;/P&gt;&lt;P&gt;In the scrip I posted I try to create small application where I press the button, the for loop creeate mexages and the msgBos shows the messages. Naturally my script is not correct. Please have a look the script?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Slthanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 20:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/learning-API/m-p/183917#M505368</guid>
      <dc:creator />
      <dc:date>2009-09-11T20:03:12Z</dc:date>
    </item>
    <item>
      <title>learning API</title>
      <link>https://community.qlik.com/t5/QlikView/learning-API/m-p/183918#M505369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly, you need to set the values in a single variable and then display just one message box at the end?&lt;/P&gt;&lt;P&gt;In your loop set a variable to its current value with the additional value you want appended to it (chr(10) forces a new line):&lt;/P&gt;&lt;P&gt;vMsg = vMsg &amp;amp; chr(10) &amp;amp; v.GetContent.Number&lt;/P&gt;&lt;P&gt;Then after the loop display the values:&lt;/P&gt;&lt;P&gt;ActiveDocument.Getapplication.MsgBox vMsg&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 20:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/learning-API/m-p/183918#M505369</guid>
      <dc:creator />
      <dc:date>2009-09-11T20:11:27Z</dc:date>
    </item>
    <item>
      <title>learning API</title>
      <link>https://community.qlik.com/t5/QlikView/learning-API/m-p/183919#M505370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hello! Perhaps you mean this&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub MostraVar&lt;BR /&gt; set vars = ActiveDocument.GetVariableDescriptions&lt;BR /&gt; for i = 0 to vars.Count - 1&lt;BR /&gt; set v = vars.Item(i)&lt;BR /&gt; msgbox(v.Name)&lt;BR /&gt; next&lt;BR /&gt; MsgBox("Nr Variabili Programma: " &amp;amp; vars.Count)&lt;BR /&gt;end sub&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Ciao &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniela&lt;/P&gt;&lt;P&gt;PS: Ma se sei italiano ..... prova prima a chiedere nel nostro gruppo&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2009 20:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/learning-API/m-p/183919#M505370</guid>
      <dc:creator />
      <dc:date>2009-09-11T20:36:41Z</dc:date>
    </item>
  </channel>
</rss>

