<?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 How can I create a multi line &amp;quot;SET&amp;quot; statement in script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451928#M696829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to turn a long 1 line SET statement into a manageable 2 or 3 lines like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET variable = "really really really really really really really really really really really really really really really really really really long variable"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET variable = "really really really really really really really really really really really" &amp;amp;&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; "really really really really really really really long variable"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this with the SET statement or should I just modify the above to a let statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 18:11:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-18T18:11:12Z</dc:date>
    <item>
      <title>How can I create a multi line "SET" statement in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451928#M696829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to turn a long 1 line SET statement into a manageable 2 or 3 lines like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET variable = "really really really really really really really really really really really really really really really really really really long variable"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET variable = "really really really really really really really really really really really" &amp;amp;&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; "really really really really really really really long variable"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this with the SET statement or should I just modify the above to a let statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 18:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451928#M696829</guid>
      <dc:creator />
      <dc:date>2013-03-18T18:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a multi line "SET" statement in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451929#M696830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET cannot evaluate and LET is used to evaluate. &lt;/P&gt;&lt;P&gt;As you have &amp;amp;, I think you dont have an option,other than making it to LET.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 18:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451929#M696830</guid>
      <dc:creator />
      <dc:date>2013-03-18T18:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a multi line "SET" statement in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451930#M696832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using &amp;amp; as an example as a possible delimiter. I don't what the right delimiter is, (or even if there is one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually don't want to evaluate the string as it is full of formulas and I want it to appear as string literal for a field in a LOAD statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 18:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451930#M696832</guid>
      <dc:creator />
      <dc:date>2013-03-18T18:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a multi line "SET" statement in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451931#M696834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me some more info on your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 18:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451931#M696834</guid>
      <dc:creator />
      <dc:date>2013-03-18T18:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a multi line "SET" statement in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451932#M696835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have carriage returns in a set statement but they will be included as part of the variable value. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET variable =really really really really really really really really really&lt;/P&gt;&lt;P&gt;really really really really really really really&lt;/P&gt;&lt;P&gt;really really long variable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to remove the return characters you can try to use the replace function (I don't know if you need use chr(10), chr(13), or both as the search string to replace).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 19:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451932#M696835</guid>
      <dc:creator />
      <dc:date>2013-03-18T19:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a multi line "SET" statement in script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451933#M696836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. This works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 19:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-multi-line-quot-SET-quot-statement-in-script/m-p/451933#M696836</guid>
      <dc:creator />
      <dc:date>2013-03-18T19:43:15Z</dc:date>
    </item>
  </channel>
</rss>

