<?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: How to add carriage return in MsgBox when in Script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631796#M1092328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only one answer can be marked as correct.&amp;nbsp; Stefan was faster, so he deserved the credit more than I do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 18:30:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-13T18:30:30Z</dc:date>
    <item>
      <title>How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631790#M1092322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Trying to add a carriage return for the long error msg that i have in script and cannot seem to get it working.&lt;/P&gt;&lt;P&gt;I'm new user and is using version 11.2 SR5&lt;/P&gt;&lt;P&gt;Below is what I want to show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Missing Source File: InternalHedges.qvd.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The file is incomplete, use with caution.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Please contact IT Team for assistance. &lt;BR /&gt;&lt;A class="jive-link-email-small" href="mailto:email@company.com"&gt;email@company.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;this is what i wrote for my script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Test:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MsgBox&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Missing Source File: InternalHedges.qvd. '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;chr(10)&amp;amp;'The file is incomplete, use with caution. '&lt;BR /&gt;&amp;amp;chr(10)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'Please contact IT Team for assistance. '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN&gt;&amp;amp;chr(10)&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:&amp;amp;'email@company.com"&gt;&amp;amp;'email@company.com&lt;/A&gt;&lt;SPAN&gt;', &lt;/SPAN&gt;&lt;BR /&gt; 'MISSING SOURCE FILE', 'OK', 'ICONEXCLAMATION')&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;autogenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1; &lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;DROP&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Test; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any help/tip is greatly appreciated!&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Louise&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 17:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631790#M1092322</guid>
      <dc:creator />
      <dc:date>2014-05-13T17:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631791#M1092323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just create the line breaks directly in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MsgBox('Missing Source File: InternalHedges.qvd. &lt;/P&gt;&lt;P&gt;The file is incomplete, use with caution. &lt;/P&gt;&lt;P&gt;Please contact IT Team for assistance. &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:email@company.com"&gt;email@company.com&lt;/A&gt;&lt;SPAN&gt;',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;'MISSING SOURCE FILE', 'OK', 'ICONEXCLAMATION')&lt;/P&gt;&lt;P&gt;as Test&lt;/P&gt;&lt;P&gt;AutoGenerate 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 18:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631791#M1092323</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-13T18:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631792#M1092324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MsgBox&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Missing Source File: InternalHedges.qvd. &lt;BR /&gt;The file is incomplete, use with caution. &lt;BR /&gt;Please contact IT Team for assistance. &lt;BR /&gt;&lt;A href="mailto:email@company.com'"&gt;email@company.com'&lt;/A&gt;, &lt;BR /&gt; 'MISSING SOURCE FILE', 'OK', 'ICONEXCLAMATION')&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;autogenerate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 18:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631792#M1092324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T18:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631793#M1092325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks!&amp;nbsp; I didnt know it was that easy.&amp;nbsp; Again many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 18:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631793#M1092325</guid>
      <dc:creator />
      <dc:date>2014-05-13T18:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631794#M1092326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes things are easier than they appear &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 18:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631794#M1092326</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T18:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631795#M1092327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the answer! &lt;/P&gt;&lt;P&gt;this is my first time using the forum so I am not sure how to assign "Correct Answer" to both people.&amp;nbsp; It seems that I can only assign one correct answer point out per question. &lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 18:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631795#M1092327</guid>
      <dc:creator />
      <dc:date>2014-05-13T18:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631796#M1092328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only one answer can be marked as correct.&amp;nbsp; Stefan was faster, so he deserved the credit more than I do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 18:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631796#M1092328</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T18:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631797#M1092329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just wondering if &lt;EM&gt;anybody ever &lt;/EM&gt;used the function as shown in the HELP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;MsgBox('Message 2', 'msgbox', 'OKCANCEL', 'ICONASTERISK') as x, 2 as r &lt;/P&gt;&lt;P&gt;autogenerate 1; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MsgBox() will just return a number indicating which button the user pressed. Hm, maybe to create a questionaire for the operator that reloads the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Food,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( MsgBox(Food, 'Do you like ...'&amp;amp;RecNo(), 'YESNO', 'ICONASTERISK')=6,'Yes','No')&amp;nbsp; as Answer &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Food&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Spaghetti&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Pizza&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Falafel&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Salad&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ice cream&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, I only get 3 message boxes, every other input records seems to be getting the answer from the previous one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lousie, if you want the user to input something useful, there is also the INPUT() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 18:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631797#M1092329</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-13T18:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631798#M1092330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is strange, I get three messages every time on reload, and they are random.&amp;nbsp; Sometimes the same Food value is repeated.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 19:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631798#M1092330</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T19:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631799#M1092331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works fine if replace RecNo() with RowNo()&lt;BR /&gt;(Going to look up the difference...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 19:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631799#M1092331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to add carriage return in MsgBox when in Script?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631800#M1092332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initially added the Recno() because it didn't worked correctly without (ok, also not with recno() ).&lt;/P&gt;&lt;P&gt;Adding rowno() seems to help, but why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I don't think I will ever use MsgBox() within a LOAD statement again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 20:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-carriage-return-in-MsgBox-when-in-Script/m-p/631800#M1092332</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-13T20:58:54Z</dc:date>
    </item>
  </channel>
</rss>

