<?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 option for user input when reloading script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223564#M76063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how to add a default value to an user input box.&lt;/P&gt;&lt;P&gt;I have the following input box:&lt;/P&gt;&lt;P&gt;let &lt;STRONG&gt;ReportStartDate&lt;/STRONG&gt; = Input('Enter Report Date (format DD/MM/YYYY', 'Input box');&lt;/P&gt;&lt;P&gt;And i want by default this to display todays date. The user has the option to change the default 'todays date' or enter a date of their own.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 12:13:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-15T12:13:26Z</dc:date>
    <item>
      <title>option for user input when reloading script</title>
      <link>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223558#M76057</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 have the following load script and im wondering if there is a way for the user to input a date in somekind of input box which can be used for the load script?&lt;/P&gt;&lt;P&gt;Below is my current script and i would like the input (date in bold) to be used when a reload is required.&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;LOAD [Sort Date],&lt;BR /&gt; &lt;B&gt;'12/07/2010'&lt;/B&gt; - [Sort Date] as [Days Outstanding],&lt;BR /&gt; DATTYP_ID,&lt;BR /&gt; TRX_DAT,&lt;BR /&gt; TRX_ID AS [Transaction ID]&lt;BR /&gt;FROM&lt;BR /&gt;data\TRANSACTION_DATES.qvd&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;It would also be nice if a button was available that upon clicking will ask the user to input a date and then commence reloading the script.&lt;/P&gt;&lt;P&gt;Any help would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 18:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223558#M76057</guid>
      <dc:creator />
      <dc:date>2010-07-14T18:41:36Z</dc:date>
    </item>
    <item>
      <title>option for user input when reloading script</title>
      <link>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223559#M76058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the the input box to work but i now get the following error:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Field not found - &amp;lt;ReportStartDate&amp;gt;&lt;/P&gt;&lt;P&gt;My script is below&lt;/P&gt;&lt;P&gt;------------&lt;/P&gt;&lt;P&gt;let rDate=Input('Enter Report Date (format DD/MM/YYYY', 'Input box');&lt;BR /&gt;LOAD [Sort Date],&lt;BR /&gt; &lt;B&gt;ReportStartDate&lt;/B&gt; - [Sort Date] as [Days Outstanding],&lt;BR /&gt; DATTYP_ID,&lt;BR /&gt; TRX_DAT,&lt;BR /&gt; TRX_ID AS [Transaction ID]&lt;BR /&gt;FROM data\TRANSACTION_DATES.qvd(qvd)&lt;BR /&gt;Where ReportStartDate=$(rDate);&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;Any help would be great.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 19:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223559#M76058</guid>
      <dc:creator />
      <dc:date>2010-07-14T19:05:36Z</dc:date>
    </item>
    <item>
      <title>option for user input when reloading script</title>
      <link>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223560#M76059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;First create the variable &lt;B&gt;ReportStartDate&lt;/B&gt; and initialize it in your script. Then you can use the variable in an input box.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 20:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223560#M76059</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2010-07-14T20:18:51Z</dc:date>
    </item>
    <item>
      <title>option for user input when reloading script</title>
      <link>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223561#M76060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi thanks for your advise, im not sure how to create the variable.&lt;/P&gt;&lt;P&gt;what should my script look like if i wanted to do this?&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 20:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223561#M76060</guid>
      <dc:creator />
      <dc:date>2010-07-14T20:33:46Z</dc:date>
    </item>
    <item>
      <title>option for user input when reloading script</title>
      <link>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223562#M76061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;You will need to assign the Input() value to ReportStartDate like this:&lt;/P&gt;&lt;P&gt;let &lt;STRONG&gt;ReportStartDate&lt;/STRONG&gt; = Input('Enter Report Date (format DD/MM/YYYY', 'Input box');&lt;/P&gt;&lt;P&gt;And then convert the input text value to a date value in your expression like this:&lt;/P&gt;&lt;P&gt;LOAD Date#('$(ReportStartDate)') - [Sort Date] as [Days Outstanding], etc&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 05:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223562#M76061</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2010-07-15T05:06:45Z</dc:date>
    </item>
    <item>
      <title>option for user input when reloading script</title>
      <link>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223563#M76062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Rob this worked just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 09:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223563#M76062</guid>
      <dc:creator />
      <dc:date>2010-07-15T09:24:41Z</dc:date>
    </item>
    <item>
      <title>option for user input when reloading script</title>
      <link>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223564#M76063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know how to add a default value to an user input box.&lt;/P&gt;&lt;P&gt;I have the following input box:&lt;/P&gt;&lt;P&gt;let &lt;STRONG&gt;ReportStartDate&lt;/STRONG&gt; = Input('Enter Report Date (format DD/MM/YYYY', 'Input box');&lt;/P&gt;&lt;P&gt;And i want by default this to display todays date. The user has the option to change the default 'todays date' or enter a date of their own.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 12:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/option-for-user-input-when-reloading-script/m-p/223564#M76063</guid>
      <dc:creator />
      <dc:date>2010-07-15T12:13:26Z</dc:date>
    </item>
  </channel>
</rss>

