<?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 Create New Field in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306655#M1201940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My last message crossed with Karls.&lt;/P&gt;&lt;P&gt;I changed my script as advised.&lt;/P&gt;&lt;P&gt;I am still only getting value 1 in NEW_FIELD. Maybe it is the SORT problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2011 02:49:47 GMT</pubDate>
    <dc:creator>mazacini</dc:creator>
    <dc:date>2011-02-16T02:49:47Z</dc:date>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306649#M1201934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to creat a new field in my table that ranks the instance of TR.REF for each SORDREF.&lt;/P&gt;&lt;P&gt;So, instance of TR.REF 282117 for SORDREF 142871 is 1, instance of 283479 is 2, etc as per below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 262pt; border-collapse: collapse;" width="348"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 47pt; mso-width-source: userset; mso-width-alt: 2267;" width="62" /&gt;&lt;COL style="width: 52pt; mso-width-source: userset; mso-width-alt: 2523;" width="69" /&gt;&lt;COL style="width: 32pt; mso-width-source: userset; mso-width-alt: 1572;" width="43" /&gt;&lt;COL style="width: 83pt; mso-width-source: userset; mso-width-alt: 4022;" width="110" /&gt;&lt;COL style="width: 48pt;" width="64" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; width: 47pt; height: 12.75pt; border: gainsboro 0.5pt solid;" width="62"&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 52pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="69"&gt;&lt;STRONG&gt;SORDREF&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 32pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="43"&gt;&lt;STRONG&gt;TR.REF&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: whitesmoke; width: 83pt; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;" width="110"&gt;&lt;STRONG&gt;ITEMCODE&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: whitesmoke; width: 48pt; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;" width="64"&gt;&lt;STRONG&gt;NEW FIELD&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #f2dddc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142871&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282117&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;33E01 -(222901)&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro 0.5pt solid; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #f2dddc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142871&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282117&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;33E10 -(222902)&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #f2dddc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142871&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282117&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;MTCRCA09&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #f2dddc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142871&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282117&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;ZR5RT011&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #f2dddc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142871&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282117&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;1722.47&lt;/TD&gt;&lt;TD align="right" class="xl73" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #dbe5f1; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #f2dddc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142871&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #d7e4bc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;283479&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;333E - (222964)&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #d7e4bc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #f2dddc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142871&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #fcd5b4; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;283981&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;1707&lt;/TD&gt;&lt;TD align="right" class="xl75" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #fcd5b4; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl72" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #f2dddc; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142871&lt;/TD&gt;&lt;TD align="right" class="xl76" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #a5a5a5; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;285213&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;ZR5MF011&lt;/TD&gt;&lt;TD align="right" class="xl76" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: #a5a5a5; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142872&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282070&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;10060653&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142872&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282070&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;10066401&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142873&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282071&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;10060653&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142874&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282049&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;013 - 4&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142874&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282049&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;4861.063&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142874&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;289943&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;2202.0315&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142874&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;289944&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;2202.0315&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142875&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282036&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;690 DZII&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142876&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282057&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;BB2718&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142876&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282057&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;E2718O&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="17" style="height: 12.75pt;"&gt;&lt;TD align="right" class="xl69" height="17" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro 0.5pt solid; background-color: white; height: 12.75pt; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;04/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;142877&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;282079&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: gainsboro 0.5pt solid; border-left: gainsboro; background-color: white; border-top: gainsboro; border-right: gainsboro 0.5pt solid;"&gt;OBS/4863.063&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: #f0f0f0; border-left: gainsboro; background-color: white; border-top: #f0f0f0; border-right: gainsboro 0.5pt solid;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;PS - am a Personal Edition user&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 00:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306649#M1201934</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T00:36:59Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306650#M1201935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After ordering the table properly use the previous() function to evaluate the previous row values. For example, you can try:&lt;/P&gt;&lt;P&gt;Load DATE, SORDREF,TR.REF,ITEMCODE,&lt;BR /&gt; if(SORDREF&amp;lt;&amp;gt;previous(SORDREF), 1,&lt;BR /&gt; if(TR.REF=TR.REF, previous(NEW_FIELD),&lt;BR /&gt; if(TR.REF=TR.REF, previous(NEW_FIELD) + 1))) as NEW_FIELD&lt;BR /&gt;From Table;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 01:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306650#M1201935</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-02-16T01:24:52Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306651#M1201936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl&lt;/P&gt;&lt;P&gt;1.How do I ensure the table is ordered properly?&lt;/P&gt;&lt;P&gt;2. I am getting a Field Not Found - &amp;lt;NEW_FIELD&amp;gt; error message when I paste in your script. Am I missing something?&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 02:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306651#M1201936</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T02:07:14Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306652#M1201937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) User ORDER BY. Perhaps ORDER BY TR.REF, but I'm not clear on the exact requirement.&lt;BR /&gt;2) Use peek(NEW_FIELD) instead of previous(NEW_FIELD). I make this mistake all the time. Keep using previous(SORDREF) though. Peek refers to fields in the table you're creating. Previous refers to fields in the table you're reading in. SORDREF exists in the table you're reading in, but NEW_FIELD does not, so that's why you got the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 02:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306652#M1201937</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-02-16T02:11:03Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306653#M1201938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John is right. I just saw a couple other errors in my script. The second and third condition should refer to the prevoius TR.REF and the third condition should be not equal, &amp;lt;&amp;gt;. Sorry.&lt;/P&gt;&lt;P&gt;Load DATE, SORDREF,TR.REF,ITEMCODE,&lt;BR /&gt; if(SORDREF&amp;lt;&amp;gt;previous(SORDREF), 1,&lt;BR /&gt; if(TR.REF=previous(TR.REF), peek(NEW_FIELD),&lt;BR /&gt; if(TR.REF&amp;lt;&amp;gt;previous(TR.REF), peek(NEW_FIELD) + 1))) as NEW_FIELD&lt;BR /&gt;From Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 02:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306653#M1201938</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-02-16T02:20:10Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306654#M1201939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) I know this is basic stuff, but I can't get the Order By to work - am getting a "Garbage after Statement" - I placed it at the end of my LOAD script (load from csv), after the FROM and WHERE clauses.&lt;/P&gt;&lt;P&gt;2) I am only getting a Value 1 in the NEW_FIELD. It may be something to do with the Sort Order? (I nottice that the suggested script repeats condition TR.REF=TR.REF in the IF statement. I'm not sure if that is significant, and at nearly 2am, mind is a bit fuzzy)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 02:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306654#M1201939</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T02:39:14Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306655#M1201940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My last message crossed with Karls.&lt;/P&gt;&lt;P&gt;I changed my script as advised.&lt;/P&gt;&lt;P&gt;I am still only getting value 1 in NEW_FIELD. Maybe it is the SORT problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 02:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306655#M1201940</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T02:49:47Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306656#M1201941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help so far. I have to sign off for now. If you have any more suggestions, I can look at them in the morning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 02:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306656#M1201941</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T02:56:07Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306657#M1201943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you get a get the garbage after statement it is because you can't do a direct order by when loading in a CSV. I don't know why, but the way to get around that is to load the csv first and then call it again in the script through the Resident command that does support the use of the order by.&lt;/P&gt;&lt;P&gt;CSV_Table:&lt;BR /&gt;Load *&lt;BR /&gt;From file.csv;&lt;BR /&gt;&lt;BR /&gt;Final_Table:&lt;BR /&gt;Load *, New_Field&lt;BR /&gt;Resident CSV_Table&lt;BR /&gt;Order by DATE,SORDREF,TR.REF,ITEMCODE;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 05:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306657#M1201943</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-02-16T05:40:07Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306658#M1201944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/6648.Forum-40997-Resident.JPG"&gt;&lt;/A&gt;Hi Karl&lt;/P&gt;&lt;P&gt;Getting the error below, which I think is down to my lack of knowledge about basic scripting generally and use of RESIDENT specifically.&lt;/P&gt;&lt;P&gt;NEW_FIELD is now DEL_COUNT. &lt;STRONG&gt;Trans1&lt;/STRONG&gt; is the name given to the table during load, being the name of the source csv file. I don't normally precede the LOAD with the table name, but have done so in this case ie I inserted a line &lt;STRONG&gt;Trans1:&lt;/STRONG&gt; before the LOAD script.&lt;/P&gt;&lt;P&gt;I added only the "Final_Table" part of the script above.&lt;/P&gt;&lt;P&gt;The Final_Table seems to have replaced / renamed a different table ("ITEMS1")., which is a table loaded directly after the "Final_Table" script above.&lt;/P&gt;&lt;P&gt;The good news is that I can sort the source csv by SORDREF, and (if I leave out the RESIDENT script) get the NEW_FIELD to calculate properly, so the resolution of this error is not critical.&lt;/P&gt;&lt;P&gt;I'm sure I have taken up enough of your time already on this. But if you could point me in the right direction on my error, i would appreciate it.&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/6648.Forum-40997-Resident.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/6648.Forum-40997-Resident.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 12:37:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306658#M1201944</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T12:37:35Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306659#M1201945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure why you get an error by just looking at the error message. Can you post your script to investigate the source of the error?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 18:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306659#M1201945</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-02-16T18:37:02Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306660#M1201946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl&lt;/P&gt;&lt;P&gt;Script attached.&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 21:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306660#M1201946</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T21:37:26Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306661#M1201947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl&lt;/P&gt;&lt;P&gt;In fact i had commented out the Final Table section. In the meantime, I noticed that I had inserted a new LOAD statement from Custs1.csv.&lt;/P&gt;&lt;P&gt;In fact the script is as per attached.&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 21:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306661#M1201947</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T21:41:45Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306662#M1201948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You named the table TRANS1 then tried to refer to it as Trans1. I believe QlikView is case-sensitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 22:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306662#M1201948</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-02-16T22:59:09Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306663#M1201949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John.&lt;/P&gt;&lt;P&gt;New Error "Field Names must be unique within table".Can you take a look?&lt;/P&gt;&lt;P&gt;I may be overstaying my welcome on this post, but hopefully this will be the last issue.&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 23:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306663#M1201949</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-16T23:08:17Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306664#M1201950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're doing this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Load *, DEL_COUNT&lt;/P&gt;&lt;P&gt;So you're telling it to load ALL fields, and then repeating DEL_COUNT. You can't load DEL_COUNT twice in the same table. If you were trying to add a field to avoid the automatic concatenation, that's not the way to do it. Instead, use noconcatenate.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Final_Table:&lt;BR /&gt;NOCONCATENATE&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT TRANS1&lt;BR /&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 23:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306664#M1201950</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-02-16T23:38:36Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306665#M1201951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John / Karl&lt;/P&gt;&lt;P&gt;The script now runs error free. I have to say I'm not sure whats going on with that part of the script. It seems to have created additional syn keys, which I also don't understand.&lt;/P&gt;&lt;P&gt;All things I can investigate myself in time.&lt;/P&gt;&lt;P&gt;Time to move on.&lt;/P&gt;&lt;P&gt;Thanks for all your help.&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 00:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306665#M1201951</guid>
      <dc:creator>mazacini</dc:creator>
      <dc:date>2011-02-17T00:20:28Z</dc:date>
    </item>
    <item>
      <title>Create New Field in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306666#M1201952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are probably needing a&lt;/P&gt;&lt;P&gt;Drop table TRANS1;&lt;/P&gt;&lt;P&gt;at the end of the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 00:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-New-Field-in-Script/m-p/306666#M1201952</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-02-17T00:26:16Z</dc:date>
    </item>
  </channel>
</rss>

