<?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: How do I create a Record number field in an Inline load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610149#M683347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these..&lt;/P&gt;&lt;P&gt;Let Rows=NoofRows(Table);&lt;/P&gt;&lt;P&gt;For vStart = 1 to 10&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Distinct * INLINE [&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Start, RecNo&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;$(vStart), $(Rows) ];&lt;/P&gt;&lt;P&gt;NEXT vStart;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 05:53:48 GMT</pubDate>
    <dc:creator>Siva_Sankar</dc:creator>
    <dc:date>2014-02-20T05:53:48Z</dc:date>
    <item>
      <title>How do I create a Record number field in an Inline load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610147#M683345</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 am creating a dynamic inline table. The mock code of the Inline table is as below -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vRec = RowNo(); //RecNo()&lt;/P&gt;&lt;P&gt;For vStart = 1 to 10&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Distinct * INLINE [&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Start, RecNo&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;$(vStart), $(vRec) ];&lt;/P&gt;&lt;P&gt;NEXT vStart;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow the RecNo() nor the RowNo() seems to give the record number for each record for the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest a way to achieve that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 05:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610147#M683345</guid>
      <dc:creator />
      <dc:date>2014-02-20T05:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a Record number field in an Inline load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610148#M683346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this simple script&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For vStart = 1 to 10&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Distinct *, RowNo() AS RecNo INLINE [&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Start&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vStart) ];&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT vStart;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 05:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610148#M683346</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-02-20T05:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a Record number field in an Inline load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610149#M683347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try these..&lt;/P&gt;&lt;P&gt;Let Rows=NoofRows(Table);&lt;/P&gt;&lt;P&gt;For vStart = 1 to 10&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Distinct * INLINE [&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Start, RecNo&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;$(vStart), $(Rows) ];&lt;/P&gt;&lt;P&gt;NEXT vStart;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 05:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610149#M683347</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2014-02-20T05:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a Record number field in an Inline load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610150#M683348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks a lot. Works perfectly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 06:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Record-number-field-in-an-Inline-load/m-p/610150#M683348</guid>
      <dc:creator />
      <dc:date>2014-02-20T06:04:03Z</dc:date>
    </item>
  </channel>
</rss>

