<?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 Variable format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190703#M53113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Assim,&lt;/P&gt;&lt;P&gt;see the attached example (Calendar box =&amp;gt; Properties ...).&lt;/P&gt;&lt;P&gt;I suggest to use calendar boxes and variables for Start and End date.&lt;/P&gt;&lt;P&gt;See the script for creating logical date ilands.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2009 17:36:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-17T17:36:58Z</dc:date>
    <item>
      <title>Variable format</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190701#M53111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have below statement to have date prompt during reload:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET varbasunix = input('Start Date', 'Please enter the start date!');&lt;BR /&gt;LET varbitunix = input('End Date', 'Please enter the end date!')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need your help for 2 different issue:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I would like to have cover all dates from the db if the user pass the input fields blank.&lt;/LI&gt;&lt;LI&gt;I want to prevent the user to enter wrong format into input field. The format must be as DD.MM.YYYY. Any different format should return with an error message.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 15:04:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190701#M53111</guid>
      <dc:creator />
      <dc:date>2009-12-17T15:04:11Z</dc:date>
    </item>
    <item>
      <title>Variable format</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190702#M53112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Asim,&lt;/P&gt;&lt;P&gt;Sounds like you need to test if the user has input a date.&lt;BR /&gt;As a possible example:&lt;BR /&gt;IF varbasunix = '' then&lt;BR /&gt;set the value to a date in the past like 01.01.1900&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;To get the correct date format you might be able to set a parameter in the input box statement, or have a test where it checks the format, and then repeats the input box statement if the input is wrong format.&lt;BR /&gt;You could also use one of the date() functions to convert the user input into the correct format as needed. These are in the manual as i'm not sure the exact syntax.&lt;/P&gt;&lt;P&gt;Peter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 16:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190702#M53112</guid>
      <dc:creator>peter_turner</dc:creator>
      <dc:date>2009-12-17T16:32:06Z</dc:date>
    </item>
    <item>
      <title>Variable format</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190703#M53113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Assim,&lt;/P&gt;&lt;P&gt;see the attached example (Calendar box =&amp;gt; Properties ...).&lt;/P&gt;&lt;P&gt;I suggest to use calendar boxes and variables for Start and End date.&lt;/P&gt;&lt;P&gt;See the script for creating logical date ilands.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 17:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190703#M53113</guid>
      <dc:creator />
      <dc:date>2009-12-17T17:36:58Z</dc:date>
    </item>
    <item>
      <title>Variable format</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190704#M53114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;Thanks for your answer. But it doesn't fix my problem exactly. In my file when I try to reload it, QV prompts for a "start date" and "end date". When user enters these values, they will be used in the SQL statement. So calendar boxes don't fix my problem. Are there any solution for the format of prompting vairables?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2009 21:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-format/m-p/190704#M53114</guid>
      <dc:creator />
      <dc:date>2009-12-17T21:44:40Z</dc:date>
    </item>
  </channel>
</rss>

