<?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: Script Line Error. Can't find my mistake in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388401#M459746</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;that is not the issue. I combine &lt;SPAN style="font-size: 13.3333px;"&gt;URL_Base &amp;amp; &lt;/SPAN&gt;URL_1 &amp;amp; URL_2 which is the the actual URL. And the double quotes should be around that, not around each part.&lt;/P&gt;&lt;P&gt;I have a similar code working in another setup just fine, so it should be good. But thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2017 11:00:08 GMT</pubDate>
    <dc:creator>max_potass</dc:creator>
    <dc:date>2017-08-14T11:00:08Z</dc:date>
    <item>
      <title>Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388392#M459737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I am currently trying to get following code working. When I execute it, I get a Script line Error. The code mentioned in the error starts at line 11. It probably is just a stupid mistage or misconseption as I am very new to this and have like no prgramming experience...&lt;/P&gt;&lt;P&gt;It would be nice, if someone can help me.&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15024452334615314" jivemacro_uid="_15024452334615314"&gt;
&lt;P&gt;Let URL_Base='something';&lt;/P&gt;
&lt;P&gt;Let Timeout='something';&lt;/P&gt;
&lt;P&gt;Let URL_Open_1='something';&lt;/P&gt;
&lt;P&gt;Let URL_Open_2='something';&lt;/P&gt;
&lt;P&gt;Let URL_Intern_1='something';&lt;/P&gt;
&lt;P&gt;Let URL_Intern_2='something';&lt;/P&gt;
&lt;P&gt;Let URL_Extern_1='something';&lt;/P&gt;
&lt;P&gt;Let URL_Extern_2='something';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For counter_1=0 to 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Let URL_1=$(URL_Base)&amp;amp;IF($(counter_1)=0,$(URL_Open_1),IF($(counter_1)=1,$(URL_Intern_1),$(URL_Extern_1)));&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Let URL_2=$(Timeout)&amp;amp;IF($(counter_1)=0,$(URL_Open_2),IF($(counter_2)=1,$(URL_Intern_2),$(URL_Extern_2)));&lt;/P&gt;
&lt;P&gt;&amp;nbsp; For counter=0 to 14&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Let URL=$(URL_1)&amp;amp;($(counter)*1000)&amp;amp;$(URL_2);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CUSTOM CONNECT TO $(URL);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; RestConnectorMasterTable:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; SQL SELECT&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "__KEY_root",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (SELECT &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "key",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__KEY_issues",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__FK_issues",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SELECT &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "created",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__KEY_fields",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__FK_fields",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SELECT &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "@Value",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__FK_customfield_10306"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM "customfield_10306" FK "__FK_customfield_10306" ArrayValueAlias "@Value"),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (SELECT &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "@Value" AS "@Value_u0",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "__FK_customfield_10305"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM "customfield_10305" FK "__FK_customfield_10305" ArrayValueAlias "@Value_u0")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM "fields" PK "__KEY_fields" FK "__FK_fields")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM "issues" PK "__KEY_issues" FK "__FK_issues")&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM JSON (wrap on) "root" PK "__KEY_root"; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; [customfield_10306]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD&amp;nbsp;&amp;nbsp; [@Value],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [__FK_customfield_10306]&amp;amp;'.1' AS [__KEY_fields]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; RESIDENT RestConnectorMasterTable&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WHERE NOT IsNull([__FK_customfield_10306]);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [customfield_10305]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD&amp;nbsp;&amp;nbsp; [@Value_u0],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [__FK_customfield_10305]&amp;amp;'.1' AS [__KEY_fields]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; RESIDENT RestConnectorMasterTable&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WHERE NOT IsNull([__FK_customfield_10305]);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [fields]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD [created],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [__KEY_fields]&amp;amp;'.1' as [__KEY_fields],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [__FK_fields]&amp;amp;'.1' AS [__KEY_issues]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; RESIDENT RestConnectorMasterTable;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [issues]:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD&amp;nbsp;&amp;nbsp; [key],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [__KEY_issues]&amp;amp;'.1' as [__KEY_issues]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; RESIDENT RestConnectorMasterTable;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Drop Tables [RestConnectorMasterTable];&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Let counter=$(counter)+1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; next&lt;/P&gt;
&lt;P&gt;Set counter=0;&lt;/P&gt;
&lt;P&gt;Let SLA=If($(counter_1)=0,'open',If($(counter_1)=1,'intern','extern'));&lt;/P&gt;
&lt;P&gt;STORE [customfield_10306] INTO customfield_10306_$(SLA).qvd (qvd);&lt;/P&gt;
&lt;P&gt;STORE [customfield_10305] INTO customfield_10305_$(SLA).qvd (qvd);&lt;/P&gt;
&lt;P&gt;STORE [fields] INTO fields_$(SLA).qvd (qvd);&lt;/P&gt;
&lt;P&gt;STORE [issues] INTO issues_$(SLA).qva&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 09:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388392#M459737</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2017-08-11T09:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388393#M459738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you screen shot that script error you are getting? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388393#M459738</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-08-11T15:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388394#M459739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there more after line 67?&amp;nbsp; if not make sure you have&amp;nbsp; semi-colon there at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 15:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388394#M459739</guid>
      <dc:creator>dan_sullivan</dc:creator>
      <dc:date>2017-08-11T15:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388395#M459740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I could see two "&lt;/SPAN&gt;&lt;SPAN style="background: lime; font-family: 'Arial',sans-serif;"&gt;&lt;STRONG&gt;FOR&lt;/STRONG&gt;&lt;/SPAN&gt;" loops in your script but only one "&lt;SPAN style="background: aqua; font-family: 'Arial',sans-serif;"&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/SPAN&gt;" statement. Could you try again by adding "Next" statement in the above script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 19:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388395#M459740</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2017-08-11T19:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388396#M459741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I attached the file. Just noticed, that the script line error includes my whole script, not only one tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 08:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388396#M459741</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2017-08-14T08:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388397#M459742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is. See answer to &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/vishsaggi"&gt;vishsaggi&lt;/A&gt;&lt;/STRONG&gt;. I attached the whole file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 08:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388397#M459742</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2017-08-14T08:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388398#M459743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;There is a second next. Forgot to copy that apperently. See answer to &lt;/SPAN&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/vishsaggi"&gt;vishsaggi&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;. I attached the whole file.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 08:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388398#M459743</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2017-08-14T08:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388399#M459744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, and there is no ';' after the next, but I tried it, and it did not work. It gave me more errors. Maybe I did something wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 08:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388399#M459744</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2017-08-14T08:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388400#M459745</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;difficult to identify just my guess &lt;/P&gt;&lt;P&gt;In variable &lt;STRONG&gt;URL_Intern_1&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;URL_Extern_1&lt;/STRONG&gt;. You are missing " which close your URL double quote (").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it won't help run your script in debug -&amp;gt; step mode and check where you are getting error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 09:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388400#M459745</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-08-14T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388401#M459746</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;that is not the issue. I combine &lt;SPAN style="font-size: 13.3333px;"&gt;URL_Base &amp;amp; &lt;/SPAN&gt;URL_1 &amp;amp; URL_2 which is the the actual URL. And the double quotes should be around that, not around each part.&lt;/P&gt;&lt;P&gt;I have a similar code working in another setup just fine, so it should be good. But thanks anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 11:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388401#M459746</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2017-08-14T11:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388402#M459747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would go for an excluding-strategy. At first commenting the second/third script-tab (or per exit script;), then commenting the loading within the loop, then reducing the number of loop-iterations and some similar measures - I think you will be quite soon hit the error-reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 11:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388402#M459747</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-08-14T11:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388403#M459748</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 you try to remove the double quote for the variable &lt;STRONG&gt;URL_Base&lt;/STRONG&gt; and check it?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/173329_Capture.JPG" style="height: 30px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;Let URL_Base='Provider=QvRestConnector.exe;url=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.qlik.com/" rel="nofollow" target="_blank"&gt;https://ticket.xxx.services/rest/api/2/search?jql%2';&lt;/A&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 12:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388403#M459748</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2017-08-14T12:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388404#M459749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Marcus Suggested debug the script as chunks and see where you getting this error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388404#M459749</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-08-14T14:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388405#M459750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Settu is right. The error you get when executing your script is because of the unterminated double quote that causes everything after that line to be included in the LET statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that a statement like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Let URL_Base = ' "Provider=.....&lt;SPAN style="font-size: 13.3333px;"&gt;search?jq1%2&lt;/SPAN&gt;';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will assign the string &lt;EM&gt;without the single quotes&lt;/EM&gt; to variable &lt;SPAN style="font-family: 'courier new', courier;"&gt;URL_Base&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;$-sign expansion in the first LET inside the FOR loop will then produce something highly illegal in scripting terms, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;Let URL_1="Provider=...search?jq1%2&amp;amp;IF(0=0, (project%%20%2%%20%3BU...&amp;amp;maxResults%21000&amp;amp;startAt%2));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which isn't exactly regular QlikView script code. You could fix the quote problem by adding another double quote in the last expanded variable, but your embedded IFs certainly won't be executed as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have any programming experience, and you want to do complex things in QlikView script, start with the easier stufff until you grow accustomed to the intricacies of string quoting, embedded IFs and $-sign expansion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388405#M459750</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-08-14T14:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388406#M459751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had no time to fix this code, so I just did not loop the different URLs and put it in different tabs... But thanks for the help.&lt;/P&gt;&lt;P&gt;The Debugging did not help, as I see no error in my code. This apparently causes the error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;Let URL_1=$(URL_Base)&amp;amp;IF($(counter_1)=0,$(URL_Open_1),IF($(counter_1)=1,$(URL_Intern_1),$(URL_Extern_1)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But even if the variables included are wrong, it should not give an script line error. I mean I only connect strings. It should give me an failed to connect later, if the URL is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I have a solution that works, but it's just not as nice as this would have been.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 08:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388406#M459751</guid>
      <dc:creator>max_potass</dc:creator>
      <dc:date>2017-08-15T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Script Line Error. Can't find my mistake</title>
      <link>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388407#M459752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to hear that you managed to eliminate the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, with respect to your statement "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;But even if the variables included are wrong, it should not give an script line error&lt;/EM&gt;", I think you are mistaken. Allow me to explain myself, as it may help you in handling similar situations in the future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Your &lt;SPAN style="font-family: 'courier new', courier;"&gt;Let&lt;/SPAN&gt; statement uses $-sign substitution to create the eventual value to assign to variable &lt;SPAN style="font-family: 'courier new', courier;"&gt;URL_1&lt;/SPAN&gt;. However, the $-sign substitution will replace all $(variable) constructs after the equal sign with the contents of the respective variables before evaluating the statement itself. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If - as you say - one or more of these variables contain invalid content, then the $-sign substitution will produce a syntactically incorrect right hand-part of the &lt;SPAN style="font-family: 'courier new', courier;"&gt;Let&lt;/SPAN&gt; statement. The script engine then tries to make sense of the wrongly formatted statement and is unable to. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;That's why you get a generic message "&lt;SPAN style="font-family: 'courier new', courier;"&gt;Script Line Error&lt;/SPAN&gt;" which is used to denote (amongst others) all statement syntax errors (like unbalanced quotes, too many comma's, missing semicolon terminators and whatever can be added or omitted from a statement).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Keep in mind that whenever you get a "Script Line Error", usually something very small/simple is missing in your code. And it's more than likely that you will get this message again some time in the future.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Good luck.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 00:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-Line-Error-Can-t-find-my-mistake/m-p/1388407#M459752</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-08-16T00:05:02Z</dc:date>
    </item>
  </channel>
</rss>

