<?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 Set inputfield value using macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-inputfield-value-using-macro/m-p/369032#M137191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me with the SetInputFieldValue method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Fields("MyInputField")&lt;/P&gt;&lt;P&gt;v.SetInputFieldValue 0, "MyValue"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it sets MyValue in first row of table. It works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But problem appears when I have a selection in MyInputField.&lt;/P&gt;&lt;P&gt;How I can set value in the first selected row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2012 12:13:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-26T12:13:06Z</dc:date>
    <item>
      <title>Set inputfield value using macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inputfield-value-using-macro/m-p/369032#M137191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me with the SetInputFieldValue method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Fields("MyInputField")&lt;/P&gt;&lt;P&gt;v.SetInputFieldValue 0, "MyValue"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it sets MyValue in first row of table. It works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But problem appears when I have a selection in MyInputField.&lt;/P&gt;&lt;P&gt;How I can set value in the first selected row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 12:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inputfield-value-using-macro/m-p/369032#M137191</guid>
      <dc:creator />
      <dc:date>2012-03-26T12:13:06Z</dc:date>
    </item>
    <item>
      <title>Set inputfield value using macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inputfield-value-using-macro/m-p/369033#M137192</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;what about creating an auxiliary list box in the sheet and using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set lb = ActiveDocument.GetSheetObject("LB01")&lt;/P&gt;&lt;P&gt;lb.SetInputFieldCell 0,"999"&amp;nbsp;&amp;nbsp; 'set first value to 999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 22:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inputfield-value-using-macro/m-p/369033#M137192</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-03-27T22:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set inputfield value using macro</title>
      <link>https://community.qlik.com/t5/QlikView/Set-inputfield-value-using-macro/m-p/369034#M137193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked for me! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 14:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-inputfield-value-using-macro/m-p/369034#M137193</guid>
      <dc:creator>marcelo_7</dc:creator>
      <dc:date>2012-08-22T14:40:14Z</dc:date>
    </item>
  </channel>
</rss>

