<?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 not being set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-not-being-set/m-p/254808#M96442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It just dawned on me. I think what might have actually really solved the problem was In the Security tab under Document properties I have chosen "Macro overrides security"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2011 21:54:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-09T21:54:32Z</dc:date>
    <item>
      <title>Variables not being set</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-not-being-set/m-p/254806#M96440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an interresting occurence with one of my models. I use input boxes (tried it with calendar sliders with same result) that use variables (to get a Date Range from a loaded field). Everyhting works fine, except that I have to click on a list box - that contains the loaded date field (or funny enough - the clear selections button) after making selections before the changes takes place.&amp;nbsp; I suspect it has something to do with the Triggers - I have tried to use Select Object in my variable change - as well as Clear All Selections (to automate the "manual workaround") with no avail. Does anyone perhaps have an idea to set me in the right direction please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 04:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-not-being-set/m-p/254806#M96440</guid>
      <dc:creator />
      <dc:date>2011-08-08T04:49:44Z</dc:date>
    </item>
    <item>
      <title>Variables not being set</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-not-being-set/m-p/254807#M96441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have sorted it out. In triggers I added an on change event for my variables vStartDate and vEndDate. The Subroutine looks like this:&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sub SelectDates&lt;BR /&gt; &lt;BR /&gt; vClick_Begin_Date = ActiveDocument.Variables("vStartDate").GetContent.String&lt;BR /&gt; vClick_End_Date = ActiveDocument.Variables("vEndDate").GetContent.String&lt;BR /&gt; &lt;BR /&gt; if vClick_End_Date&amp;lt;vClick_Begin_Date then&lt;BR /&gt; vClick_End_Date=vClick_Begin_Date&lt;BR /&gt; set v = ActiveDocument.GetVariable("vEndDate")&lt;BR /&gt; v.SetContent vClick_End_Date,true&lt;BR /&gt; end if&lt;BR /&gt; &lt;BR /&gt; ActiveDocument.Fields("Date").Select "&amp;gt;="&amp;amp;(vClick_Begin_Date)&amp;amp;"&amp;lt;="&amp;amp;(vClick_End_Date)&lt;BR /&gt; end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 21:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-not-being-set/m-p/254807#M96441</guid>
      <dc:creator />
      <dc:date>2011-08-09T21:38:57Z</dc:date>
    </item>
    <item>
      <title>Variables not being set</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-not-being-set/m-p/254808#M96442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It just dawned on me. I think what might have actually really solved the problem was In the Security tab under Document properties I have chosen "Macro overrides security"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 21:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-not-being-set/m-p/254808#M96442</guid>
      <dc:creator />
      <dc:date>2011-08-09T21:54:32Z</dc:date>
    </item>
  </channel>
</rss>

