<?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 Re: Read the string from text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909783#M315916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Did you manage to solve your problem?&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2015 13:01:35 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2015-08-05T13:01:35Z</dc:date>
    <item>
      <title>Read the string from text</title>
      <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909776#M315909</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 hope all are doing good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to read the start and end time of batch jobs and store in qvd. For this I need to get the task name from text and call into table, and store into qvd.&amp;nbsp; Example: In below script text is &lt;SPAN style="font-size: 13.3333330154419px;"&gt;$(Include=D:\script\create_order.qvs). I need to get the "create_order" as the task name and call into "Sales" table then store into qvd. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vStartTime = Now();&lt;/P&gt;&lt;P&gt;$(Include=D:\script\&lt;STRONG&gt;create_order&lt;/STRONG&gt;.qvs)&lt;/P&gt;&lt;P&gt;LET vEndTime = Now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'create_order&lt;/STRONG&gt;' AS ReloadTable,&lt;/P&gt;&lt;P&gt;'$(vStartTime)' AS StartTime,&lt;/P&gt;&lt;P&gt;'$(vEndTime)' AS EndTime&lt;/P&gt;&lt;P&gt;AutoGenerate (1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vStartTime = Now();&lt;/P&gt;&lt;P&gt;$(Include=&lt;SPAN style="font-size: 13.3333330154419px;"&gt;D:\script\&lt;/SPAN&gt;&lt;STRONG&gt;derive_order&lt;/STRONG&gt;.qvs)&lt;/P&gt;&lt;P&gt;LET vEndTime = Now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;'&lt;STRONG&gt;derive_order&lt;/STRONG&gt;' AS ReloadTable,&lt;/P&gt;&lt;P&gt;'$(vStartTime)' AS StartTime,&lt;/P&gt;&lt;P&gt;'$(vEndTime)' AS EndTime&lt;/P&gt;&lt;P&gt;AutoGenerate (1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand requirement. let me know if you need any information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 11:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909776#M315909</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-08-04T11:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Read the string from text</title>
      <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909777#M315910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your question? You appear to have done everything except:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need a Concatenate LOAD statement to get the log file history from the qvd &lt;/P&gt;&lt;P&gt;and a 'STORE Sales' statement&amp;nbsp; to save the updated log file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909777#M315910</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-04T12:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Read the string from text</title>
      <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909778#M315911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the problem statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909778#M315911</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-04T12:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Read the string from text</title>
      <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909779#M315912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to write "create_order" or "derive_order" in Sales table, it should automatically read from the texts &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(Include=D:\script\&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;create_order&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;.qvs),..... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i will concatenate these tables ans store into qvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909779#M315912</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-08-04T12:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read the string from text</title>
      <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909780#M315913</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;You can create a Bucle... to read all qvds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the the file will be the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each File in filelist ('c:\directory\'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD $(File) as Name .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next File&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, 04 Aug 2015 12:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909780#M315913</guid>
      <dc:creator>sorrakis01</dc:creator>
      <dc:date>2015-08-04T12:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Read the string from text</title>
      <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909781#M315914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set vFilePath='D:\script\create_order.qvs';&lt;/P&gt;&lt;P&gt;let vFileName=subfield(TextBetween('$(vFile)','\','.'),'\',-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vStartTime = Now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(Include='$(vFilePath)');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vEndTime = Now();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'$(vFileName)&lt;/STRONG&gt;' AS ReloadTable,&lt;/P&gt;&lt;P&gt;'$(vStartTime)' AS StartTime,&lt;/P&gt;&lt;P&gt;'$(vEndTime)' AS EndTime&lt;/P&gt;&lt;P&gt;AutoGenerate (1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909781#M315914</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-04T12:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read the string from text</title>
      <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909782#M315915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; set i=0;&lt;/P&gt;&lt;P&gt;set vConcatenate='';&lt;/P&gt;&lt;P&gt;sub GetFileNames(DirName,extension)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each FoundFile in filelist(DirName &amp;amp; extension)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if i&amp;gt;0 then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vConcatenate='Concatenate';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End if&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let i=i+1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vFileName=subfield(TextBetween('$(FoundFile)','\','.'),'\',-1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vStartTime = Now();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(Include='$(vFilePath)');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vEndTime = Now();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(vFileName)' AS ReloadTable,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(vStartTime)' AS StartTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(vEndTime)' AS EndTime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoGenerate (1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next FoundFile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call GetFileNames('&lt;SPAN style="font-size: 13.3333330154419px;"&gt;D:\script\&lt;/SPAN&gt;','*.qvs');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 12:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909782#M315915</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-04T12:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Read the string from text</title>
      <link>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909783#M315916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Did you manage to solve your problem?&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 13:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Read-the-string-from-text/m-p/909783#M315916</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-05T13:01:35Z</dc:date>
    </item>
  </channel>
</rss>

