<?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: Automatically insert a variable whenever a new script_tab is opened? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819172#M1296878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're right. That happens if you put a valid line of code wholesale into a variable and then execute that by putting that variable in the $() and evaluating it. I have that in another place with delete_variables.&lt;/P&gt;&lt;P&gt;I also had it quite a while ago with the &amp;gt;&amp;gt; -= &amp;lt;&amp;lt; in set_expressions - that was underlined, so no one could have said if the code was otherwise correct or not, so I replaced that with a slightly more lengthy expression that the editor recognizes.&lt;/P&gt;&lt;P&gt;But when going through the code in the Debugger and looking for errors, it is a bit irritating.&lt;/P&gt;&lt;P&gt;Why hasn't Qlik issued a patch for that yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2015 12:57:35 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-02-24T12:57:35Z</dc:date>
    <item>
      <title>Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819167#M1296863</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;we have a "Template_QlikView" that should be used whenever a new app is to be created that has a number of standard_elements that should be used everywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever something new comes along and I think of some best way of doing it, I try to implement it there.&lt;/P&gt;&lt;P&gt;=&amp;gt; The newest thing I have is a variable that inserts a few lines to make the beginning of a new tab (in the script) more apparent when&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; used in the Debugger or in the log. (it has to be inserted at the very end of a tab, though, to appear BEFORE the automatically&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inserted tab_name)&lt;/P&gt;&lt;P&gt;=&amp;gt; Is there any way I can set the editor to insert that variable_call at the very end of any new script_tab that I add automatically, like&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a template in MS_Office?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&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>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819167#M1296863</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819168#M1296867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that there is a possibility to do that automated. But you could create a complete script-tab template as external script and insert this in a additionally step (2 clicks) - script-file could look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*---------------------------[ Tab X ]--------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goal: ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description: .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// place your statements here ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*---------------------------[ End ]--------------------------------------------------------------*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IncludeYourTabHighlithingVariable;&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, 17 Feb 2015 09:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819168#M1296867</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-17T09:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819169#M1296872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that would be an idea. I had been thinking about sth like this a while ago. Let's see.&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, 17 Feb 2015 09:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819169#M1296872</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-17T09:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819170#M1296874</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;can anyone tell me why the script_editor even in the most up-to-date version (11.2 SR9 or so, I had the newest client installed) cannot recognize that variable call&lt;/P&gt;&lt;P&gt;(in the line where there is just &amp;gt;&amp;gt;&amp;nbsp; $(v_Tabchange)&amp;nbsp; &amp;lt;&amp;lt;)&lt;/P&gt;&lt;P&gt;=&amp;gt; That is underlined in red and so is the next LOAD statement though it is absolutely correct.&lt;/P&gt;&lt;P&gt;That's not a big problem as the LOAD works well. It is just a little bit annoying.&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>Thu, 19 Feb 2015 09:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819170#M1296874</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-19T09:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819171#M1296876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's only a inadequacy from the editor not to recognize valid code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 06:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819171#M1296876</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-20T06:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819172#M1296878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you're right. That happens if you put a valid line of code wholesale into a variable and then execute that by putting that variable in the $() and evaluating it. I have that in another place with delete_variables.&lt;/P&gt;&lt;P&gt;I also had it quite a while ago with the &amp;gt;&amp;gt; -= &amp;lt;&amp;lt; in set_expressions - that was underlined, so no one could have said if the code was otherwise correct or not, so I replaced that with a slightly more lengthy expression that the editor recognizes.&lt;/P&gt;&lt;P&gt;But when going through the code in the Debugger and looking for errors, it is a bit irritating.&lt;/P&gt;&lt;P&gt;Why hasn't Qlik issued a patch for that yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 12:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819172#M1296878</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-24T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819173#M1296880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way I can access the name given to a script_tab?&lt;/P&gt;&lt;P&gt;That info must be somewhere for QlikView inserts it into the log automatically. But can it be accessed?&lt;/P&gt;&lt;P&gt;Thanks a lot!&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, 24 Feb 2015 13:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819173#M1296880</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-24T13:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819174#M1296882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;outside from the script you could read the script per macro and identify and count the tabs but inside from the script I don't believe that there is a way. The script is from the API-side one piece and the tab-splitting is only a window-feature from editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use for this reason: let vTabName = 'MyTab';&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, 24 Feb 2015 15:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819174#M1296882</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-24T15:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically insert a variable whenever a new script_tab is opened?</title>
      <link>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819175#M1296884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Of course, with the help of an additional variable, it would be possible to include in the TRACE statement the name of the next-to-come tab.&lt;/P&gt;&lt;P&gt;That would be a good way to go. The issue is just that every such&amp;nbsp; change in the "general standard of scripting" - meaning things that should actually have been done from the beginning - is quite a lot of effort to roll out.&lt;/P&gt;&lt;P&gt;I will give it a think, however.&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, 24 Feb 2015 15:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Automatically-insert-a-variable-whenever-a-new-script-tab-is/m-p/819175#M1296884</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-24T15:35:17Z</dc:date>
    </item>
  </channel>
</rss>

