<?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 identify when in batch mode? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227886#M79974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding to Gordon's point:&lt;/P&gt;&lt;P&gt;Add as the last line in your loadscript a Set statement that changes your batch variable to zero (or whatever you're using for a non-batch value).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jul 2010 12:41:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-21T12:41:08Z</dc:date>
    <item>
      <title>How to identify when in batch mode?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227882#M79970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a macro associated with the 'OnOpen' document event but I don't want to run the code when in batch mode (that is running using the '/R' switch).&lt;/P&gt;&lt;P&gt;How can I detect it so that I can warap an 'if' statement around the code in the macro?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 10:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227882#M79970</guid>
      <dc:creator />
      <dc:date>2010-07-20T10:55:00Z</dc:date>
    </item>
    <item>
      <title>Re. :How to identify when in batch mode?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227883#M79971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can modify a variable value with the batch script line.&lt;/P&gt;&lt;P&gt;I think it's like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Qv.exe /vVariableName=1 /r QvApp.qvw&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 11:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227883#M79971</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-07-20T11:00:38Z</dc:date>
    </item>
    <item>
      <title>Re. :How to identify when in batch mode?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227884#M79972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Thanks for your reply - that will certainly work. I wondered if it were possible to detect the use of the /r switch directly instead though.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 11:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227884#M79972</guid>
      <dc:creator />
      <dc:date>2010-07-20T11:13:03Z</dc:date>
    </item>
    <item>
      <title>Re. :How to identify when in batch mode?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227885#M79973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, the problem with passing a variable with /v as well as using the /r switch is that the variable gets set to the passed value and the document saved with it, so you have to reset the value too.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 12:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227885#M79973</guid>
      <dc:creator />
      <dc:date>2010-07-20T12:34:04Z</dc:date>
    </item>
    <item>
      <title>Re. :How to identify when in batch mode?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227886#M79974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding to Gordon's point:&lt;/P&gt;&lt;P&gt;Add as the last line in your loadscript a Set statement that changes your batch variable to zero (or whatever you're using for a non-batch value).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 12:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-identify-when-in-batch-mode/m-p/227886#M79974</guid>
      <dc:creator />
      <dc:date>2010-07-21T12:41:08Z</dc:date>
    </item>
  </channel>
</rss>

