<?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 Prevent autocalendar within in auto-generate script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182585#M887634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to keep the auto-generated section, but not have it include the creation of the autocalendar logic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that once you "unlock" the auto-generated script you can no longer use data manager to maintain tables and associations.&amp;nbsp; However, I want to use data manager to manage tables, but I need to customize the autocalendar.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a section in script editor to "drop table autocalendar" then add my own autocalendar definition.&amp;nbsp; However, this results in &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The error occurred here: DROP TABLES statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="message empty" style="font-family: monospace; color: #595959; font-size: 13px;"&gt;Data has not been loaded. Please correct the error and try loading again.&lt;/P&gt;&lt;P class="message empty" style="font-family: monospace; color: #595959; font-size: 13px;"&gt;&lt;/P&gt;&lt;P class="message empty" style="font-family: monospace; color: #595959; font-size: 13px;"&gt;If I add a &lt;SPAN style="font-size: 13.3333px;"&gt;autocalendar1 instead, I get doubled up feilds like "autocalendar.Year" and &lt;SPAN style="color: #595959; font-family: monospace; font-size: 13.3333px;"&gt;"autocalendar1.Year"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="selectable" style="margin: 0 0 0 5px;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Prevent autocalendar within in auto-generate script</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182585#M887634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to keep the auto-generated section, but not have it include the creation of the autocalendar logic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that once you "unlock" the auto-generated script you can no longer use data manager to maintain tables and associations.&amp;nbsp; However, I want to use data manager to manage tables, but I need to customize the autocalendar.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a section in script editor to "drop table autocalendar" then add my own autocalendar definition.&amp;nbsp; However, this results in &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The error occurred here: DROP TABLES statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="message empty" style="font-family: monospace; color: #595959; font-size: 13px;"&gt;Data has not been loaded. Please correct the error and try loading again.&lt;/P&gt;&lt;P class="message empty" style="font-family: monospace; color: #595959; font-size: 13px;"&gt;&lt;/P&gt;&lt;P class="message empty" style="font-family: monospace; color: #595959; font-size: 13px;"&gt;If I add a &lt;SPAN style="font-size: 13.3333px;"&gt;autocalendar1 instead, I get doubled up feilds like "autocalendar.Year" and &lt;SPAN style="color: #595959; font-family: monospace; font-size: 13.3333px;"&gt;"autocalendar1.Year"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="selectable" style="margin: 0 0 0 5px;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&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/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182585#M887634</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent autocalendar within in auto-generate script</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182586#M887635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to change the field type of your date field in data manager to something different than 'Date' type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 16:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182586#M887635</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-13T16:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent autocalendar within in auto-generate script</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182587#M887636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you suggesting that I edit the fields that are being derived to not be date, then the auto calendar wont be created...thus I can just make make own calendar in script?&lt;/P&gt;&lt;P&gt;If that is right....I just tried and In data manager I am unable to adjust the type. see screen shot for what I see.&amp;nbsp; Other fields in the table give a drop down with field type values of "general", "timestamp", "date".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My immediate need, but I was asking more generically, that I need a "hour" field for the autocalendar i.e. "Hour($1) AS [Hour] Tagged ('$axis', '$date', '$qualified');"&amp;nbsp; but since I can't edit the autogenerated section, I thought if I could not have table made and then I do it in script that would solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137314_Capture.PNG" style="height: 300px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 17:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182587#M887636</guid>
      <dc:creator />
      <dc:date>2016-09-13T17:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent autocalendar within in auto-generate script</title>
      <link>https://community.qlik.com/t5/QlikView/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182588#M887637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may try creating calculated field using 'Add field/Calculated field' in data manager.&amp;nbsp; It appears true that once you unlock the script, data manager becomes almost mute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 19:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prevent-autocalendar-within-in-auto-generate-script/m-p/1182588#M887637</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-09-13T19:36:01Z</dc:date>
    </item>
  </channel>
</rss>

