<?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 error in creating a folder name as feild in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/error-in-creating-a-folder-name-as-feild-in-script/m-p/137274#M20509</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209203_Capture.PNG" style="height: 122px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a folder name as a field in the script and synthetic key are creating and data is not created.&lt;/P&gt;&lt;P&gt;Could you please advise how to use folder name as a field in the script and load all the file in the folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALL:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Subfield(Dir,'\', NumberOfTimes + 1) as FolderName;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;FileDir() as Dir,&lt;/P&gt;&lt;P&gt;substringcount(FileDir(),'\') as NumberOfTimes&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE ALL into &lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Jul 2018 15:12:59 GMT</pubDate>
    <dc:creator>bushpalaamarnat</dc:creator>
    <dc:date>2018-07-29T15:12:59Z</dc:date>
    <item>
      <title>error in creating a folder name as feild in script</title>
      <link>https://community.qlik.com/t5/QlikView/error-in-creating-a-folder-name-as-feild-in-script/m-p/137274#M20509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209203_Capture.PNG" style="height: 122px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a folder name as a field in the script and synthetic key are creating and data is not created.&lt;/P&gt;&lt;P&gt;Could you please advise how to use folder name as a field in the script and load all the file in the folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALL:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Subfield(Dir,'\', NumberOfTimes + 1) as FolderName;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;FileDir() as Dir,&lt;/P&gt;&lt;P&gt;substringcount(FileDir(),'\') as NumberOfTimes&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE ALL into &lt;C&gt;(qvd);&lt;/C&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 15:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/error-in-creating-a-folder-name-as-feild-in-script/m-p/137274#M20509</guid>
      <dc:creator>bushpalaamarnat</dc:creator>
      <dc:date>2018-07-29T15:12:59Z</dc:date>
    </item>
  </channel>
</rss>

