<?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 Use calendar to set a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361275#M134135</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;&lt;/P&gt;&lt;P&gt;I'd like a user to select a date from a calendar object, and then assign that value to a variable, eg. vDate.&lt;/P&gt;&lt;P&gt;Also, this date field will be an inputfield, so there won't necessarily be one assigned to the date field in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the user has input/selected this date along with other values on a tablebox(which can be input/changed), I'd like to store it to a QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 22:37:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-20T22:37:14Z</dc:date>
    <item>
      <title>Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361275#M134135</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;&lt;/P&gt;&lt;P&gt;I'd like a user to select a date from a calendar object, and then assign that value to a variable, eg. vDate.&lt;/P&gt;&lt;P&gt;Also, this date field will be an inputfield, so there won't necessarily be one assigned to the date field in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the user has input/selected this date along with other values on a tablebox(which can be input/changed), I'd like to store it to a QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 22:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361275#M134135</guid>
      <dc:creator />
      <dc:date>2012-03-20T22:37:14Z</dc:date>
    </item>
    <item>
      <title>Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361276#M134136</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;Select Calendar object and goto properties--&amp;gt; select field ---&amp;gt;selcet variable u created(like VDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto edit script,then define like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load '$(VDate)' as datefeild autogenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store Tmp into Tmp.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 05:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361276#M134136</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-03-21T05:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361277#M134137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am progressing a bit, and my records seem to be saving to my .xls doc., BUT&lt;/P&gt;&lt;P&gt;they don't seem to be returning what is contained in the excel file as :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 696px; border-collapse: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD height="17" style="border: 0px windowtext; width: 131pt; height: 12.75pt; background-color: transparent;" width="175"&gt;Name&lt;/TD&gt;&lt;TD style="border: 0px windowtext; width: 131pt; background-color: transparent;" width="175"&gt;&lt;SPAN style="color: #000000;"&gt;Grade&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border: 0px windowtext; width: 130pt; background-color: transparent;" width="173"&gt;&lt;SPAN style="color: #000000;"&gt;StartDate&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px windowtext; width: 130pt; background-color: transparent;" width="173"&gt;&lt;SPAN style="color: #000000;"&gt;EndDate&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD height="17" style="border: 0px windowtext; height: 12.75pt; background-color: transparent;"&gt;fdfds&lt;/TD&gt;&lt;TD style="border: 0px windowtext; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;Registrar&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border: 0px windowtext; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;24/01/2012&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border: 0px windowtext; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;25/01/2012&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD height="17" style="border: 0px windowtext; height: 12.75pt; background-color: transparent;"&gt;joe schmo&lt;/TD&gt;&lt;TD style="border: 0px windowtext; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;Registrar&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border: 0px windowtext; background-color: transparent;"&gt;&lt;SPAN style="color: #000000;"&gt;05/03/2012&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border: 0px windowtext; background-color: transparent;"&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;06/03/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Instead, my QV Chart is returning (just look at the 2 records for now):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="0" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;1 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;fdfds &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;Registrar &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;2 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;joe schmo &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;Registrar &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;3 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;4 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;5 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;6 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;7 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;8 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;9 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012 &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt;10 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;05/03//2012 &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;06/03//2012&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's the way I'm joining the tables in the script .&lt;/P&gt;&lt;P&gt;Any help would be much appreciated ------- I think I've been looking at the scruipt for too long and my eyes are going out of focus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 15:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361277#M134137</guid>
      <dc:creator />
      <dc:date>2012-03-21T15:32:12Z</dc:date>
    </item>
    <item>
      <title>Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361278#M134138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i think in script u are using autogenerate(10)&lt;/P&gt;&lt;P&gt;This will store 10 times the variable value,make that as 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 05:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361278#M134138</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-03-22T05:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361279#M134139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How could I go about changing this script slightly- probably using the iterno() function, so that it adds just 1 line under the current record, instead of a fixed amount eg.. autogenerate(10) or autogenerate(1). &lt;/P&gt;&lt;P&gt;So if I have 3 records, I like to add an extra row. ie. 3 and the 1 empty one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current script is:&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RecNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RecID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; '$(vStartDate)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StartDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; '$(vEndDate)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EndDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;autogenerate(10&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 12:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361279#M134139</guid>
      <dc:creator />
      <dc:date>2012-03-22T12:07:44Z</dc:date>
    </item>
    <item>
      <title>Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361280#M134140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Bean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, Can u explain the problem Clearly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 04:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361280#M134140</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-03-26T04:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361281#M134141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I basically just want to be able to add an empty row or 1 extra row under the current 1.&lt;/P&gt;&lt;P&gt;I guess it needs a loop, instead of having a specific number of rows eg. autogenerate(10).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 07:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361281#M134141</guid>
      <dc:creator />
      <dc:date>2012-03-27T07:50:10Z</dc:date>
    </item>
    <item>
      <title>Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361282#M134142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;I dont think we can add a empty row &lt;/P&gt;&lt;P&gt;But we can add a column in script itself or while loading qvd &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sivaraj S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 08:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361282#M134142</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2012-03-27T08:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use calendar to set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361283#M134143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to add a row using a macro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 09:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-calendar-to-set-a-variable/m-p/361283#M134143</guid>
      <dc:creator />
      <dc:date>2012-03-27T09:12:58Z</dc:date>
    </item>
  </channel>
</rss>

