<?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: Create a text file with some hardcoded text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823801#M667813</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;In else part write this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'No Data Received'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;store File into File.qvd(txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 10:54:05 GMT</pubDate>
    <dc:creator>ashfaq_haseeb</dc:creator>
    <dc:date>2014-11-26T10:54:05Z</dc:date>
    <item>
      <title>Create a text file with some hardcoded text</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823798#M667810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create a text file with some message in it such as 'No Data Received' and store it at some location?&lt;/P&gt;&lt;P&gt;When some codition fails then in the else part i want a text file to be created with this message&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 10:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823798#M667810</guid>
      <dc:creator />
      <dc:date>2014-11-26T10:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create a text file with some hardcoded text</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823799#M667811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you can use execute cmd lines to write files to certain locations like that, or out as an email rather than a txt file for example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 10:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823799#M667811</guid>
      <dc:creator />
      <dc:date>2014-11-26T10:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create a text file with some hardcoded text</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823800#M667812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup.&amp;nbsp; Create a table with an InLine load and store it in txt format, as opposed to qvd format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 10:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823800#M667812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-26T10:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create a text file with some hardcoded text</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823801#M667813</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;In else part write this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'No Data Received'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;store File into File.qvd(txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ASHFAQ&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 10:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823801#M667813</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-11-26T10:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create a text file with some hardcoded text</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823802#M667814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it is possible try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab://Suppose it is table with zero rows &lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Name&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vNoOfRow = NoOfRows('Tab');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If $(vNoOfRow) = 0 Then&lt;/P&gt;&lt;P&gt;Status:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;No Data Received&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Status into Status.txt(txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:- and in second reload put some values and try to reload you not get any field generated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 10:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823802#M667814</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-26T10:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create a text file with some hardcoded text</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823803#M667815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can load your table like below script to get the current date and time also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Tab:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Inline&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vNoOfRow = NoOfRows('Tab');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If $(vNoOfRow) = 0 Then&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Status:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'No Data Received on '&amp;amp;Now() as Status&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AutoGenerate 1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;STORE Status into Status.txt(txt);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ENDIF;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 11:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-text-file-with-some-hardcoded-text/m-p/823803#M667815</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-11-26T11:05:52Z</dc:date>
    </item>
  </channel>
</rss>

