<?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: Field Names into New Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771949#M273920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use table functions like nooffields() and fieldname(). Maybe in a loop through nooftables().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2014 16:12:04 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-11-18T16:12:04Z</dc:date>
    <item>
      <title>Field Names into New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771947#M273918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to get the field names of tables previously loaded in the load script into a new table? I was thinking of maybe some way of using a cross table and a resident load, but I could be completely off the mark. Basically just looking to get the names of each field as rows of a new table. I know in SQL you can get field values using system schema tables, but unfamiliar if there is a way in QlikView. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771947#M273918</guid>
      <dc:creator>cspencer3</dc:creator>
      <dc:date>2014-11-18T16:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names into New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771948#M273919</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;sure: You can use the &lt;STRONG&gt;NoOfFields&lt;/STRONG&gt;() function to find out how many fields the table you have just loaded has and then use the &lt;STRONG&gt;FieldName&lt;/STRONG&gt;() function in a loop to add to a new table the name of every field in that table.&lt;/P&gt;&lt;P&gt;Do all that in a &lt;STRONG&gt;FOR EACH&lt;/STRONG&gt; loop or in a subroutine if you have several tables to process.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771948#M273919</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-11-18T16:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names into New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771949#M273920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use table functions like nooffields() and fieldname(). Maybe in a loop through nooftables().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771949#M273920</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-11-18T16:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names into New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771950#M273921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try generating the 'System Table' which has the information on all the tables and fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771950#M273921</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2014-11-18T16:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names into New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771951#M273922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to then store the Field Names into a qvd file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where are you taking the Data from? Is it a DB or a QVD file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771951#M273922</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-11-18T16:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names into New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771952#M273923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try using SQLCOLUMNS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT to ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;SQLCOLUMNS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Test INTO Test.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get a file with details of the Tables and fields from the Database you are connecting to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example image below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-11-18_1623.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71563_2014-11-18_1623.png" style="width: 620px; height: 103px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:24:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771952#M273923</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-11-18T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Field Names into New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771953#M273924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am pulling data from a SQL Server Database, and I would just be storing and using those fields in the QVW itself. It looks like you guys all have great answers. I think that Data nibbler is the best option, and although it is a bit more complex than using the SQLColumns method, it gets only column names that are in my QVW not the whole DB. I really like the SQLColumns feature though, and it opens up a whole bunch of other data that may be useful in the future. Thanks Everyone!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 16:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Names-into-New-Table/m-p/771953#M273924</guid>
      <dc:creator>cspencer3</dc:creator>
      <dc:date>2014-11-18T16:52:17Z</dc:date>
    </item>
  </channel>
</rss>

