<?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: Template for LOAD statement in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456085#M794680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible, u can either use other applications for getting this as input like Editplus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2017 06:08:06 GMT</pubDate>
    <dc:creator>shiveshsingh</dc:creator>
    <dc:date>2017-12-29T06:08:06Z</dc:date>
    <item>
      <title>Template for LOAD statement in script</title>
      <link>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456082#M794676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to change the way a LOAD statement get automatically structured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex, if i use the wizard to create a LOAD statement from a QVD I get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD field1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;field2&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;field3&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;field4&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;field5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[tablePath\Sviluppo\tableName.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like it to be automatically structered this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field4&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; field5&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[tablePath\Sviluppo\tableName.qvd]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i was wondering if is there a template I can change somewhere, or any other solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456082#M794676</guid>
      <dc:creator>niccolo_chiodar</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Template for LOAD statement in script</title>
      <link>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456083#M794677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK it's not possible with the qlik-editor but you could copy the statement into another tool maybe Excel and there you could adjust it with a few manually changes and some text-functions or maybe with a macro into your wished layout - and of course you could re-use always the same excel-template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 16:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456083#M794677</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-12-28T16:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Template for LOAD statement in script</title>
      <link>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456084#M794678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the built-in Script Editor is not that flexible or powerful as a programmers editor. You have two options to format a LOAD statement:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;On Script Editor-&amp;gt;Table File Wizard-&amp;gt;Script (last tab when using the wizard to import a table file), set Max Line Length to a large value to get a LOAD statement as a block. All column names will be sequentially list until the current line reaches the max line length.&lt;/LI&gt;&lt;LI&gt;On Script Editor-&amp;gt;Table File Wizard-&amp;gt;Script (last tab when using the wizard to import a table file), set Max Line Length to 1 to get a LOAD statement with column names listed in a single column.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last one may correspond the most to your requirement. But a Marcus already mentioned, any further automatic formatting needs to be done using external tools on externalised script files. Most programmers editors allow you to create macros for doing this kind of stuff. IIRC &lt;A href="https://www.sublimetext.com/"&gt;Sublime Text&lt;/A&gt; is one of the few editors for which someone wrote a plugin to create LOAD statements from QVD files. You might be able to change the plug-in code to better suit your needs, as it's open source. &lt;A href="http://branch.qlik.com/projects/showthread.php?173-InQlik-Tools-for-Sublime-Text&amp;amp;_ga=2.36023271.614430330.1514452323-1432294344.1476970510" title="http://branch.qlik.com/projects/showthread.php?173-InQlik-Tools-for-Sublime-Text&amp;amp;_ga=2.36023271.614430330.1514452323-1432294344.1476970510"&gt;InQlik Tools for Sublime Text&lt;/A&gt; (Qlik Branch) and &lt;A href="https://github.com/inqlik/inqlik-tools" title="https://github.com/inqlik/inqlik-tools"&gt;GitHub - inqlik/inqlik-tools: Set of tools for QlikView development in Sublime Text 3&lt;/A&gt; (Github)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 17:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456084#M794678</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-12-28T17:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Template for LOAD statement in script</title>
      <link>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456085#M794680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible, u can either use other applications for getting this as input like Editplus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 06:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456085#M794680</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-12-29T06:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Template for LOAD statement in script</title>
      <link>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456086#M794681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will give Sublime Text a try!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 13:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Template-for-LOAD-statement-in-script/m-p/1456086#M794681</guid>
      <dc:creator>niccolo_chiodar</dc:creator>
      <dc:date>2017-12-29T13:55:33Z</dc:date>
    </item>
  </channel>
</rss>

