<?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 Bizarre behaviour setting variables - different in debug mode in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169246#M40115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try "sleep":&lt;BR /&gt;ActiveDocument.GetApplication.Sleep 1000 ' 1 second&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2011 16:57:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-18T16:57:43Z</dc:date>
    <item>
      <title>Bizarre behaviour setting variables - different in debug mode</title>
      <link>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169243#M40112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a problem with different behaviour in debug mode, compared to test mode in a VBScript module.&lt;/P&gt;&lt;P&gt;When the user logs in, I have a couple of triggers that check the username, and then decide on the basis of some settings in a 'security' table whether or not a particular sheet should be visible.&lt;/P&gt;&lt;P&gt;There are variables for each sheet v(sheetname)Visible v(sheetname)Sample that get set and the sheets are set up to show conditionally based on the values in the variables.&lt;/P&gt;&lt;P&gt;When the code runs on start up, it is not correctly setting one of the variables. If I go into the module editor and run the checkVisibleSheet macro in test mode, it also sets the variable incorrectly. However, if I set a break point and step through the variable setting routine manually in debug mode, it works correctly!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Any clues - I'm tearing my hair out!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 14:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169243#M40112</guid>
      <dc:creator />
      <dc:date>2011-03-18T14:35:52Z</dc:date>
    </item>
    <item>
      <title>Bizarre behaviour setting variables - different in debug mode</title>
      <link>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169244#M40113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it's timeing issue... Try to insert this line before/after setting the variable:&lt;BR /&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 16:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169244#M40113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-18T16:03:20Z</dc:date>
    </item>
    <item>
      <title>Bizarre behaviour setting variables - different in debug mode</title>
      <link>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169245#M40114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion - it does look like something like that. However, sprinkling those around doesn't seem to make a difference, but I will persevere!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 16:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169245#M40114</guid>
      <dc:creator />
      <dc:date>2011-03-18T16:51:25Z</dc:date>
    </item>
    <item>
      <title>Bizarre behaviour setting variables - different in debug mode</title>
      <link>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169246#M40115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try "sleep":&lt;BR /&gt;ActiveDocument.GetApplication.Sleep 1000 ' 1 second&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 16:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169246#M40115</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-18T16:57:43Z</dc:date>
    </item>
    <item>
      <title>Bizarre behaviour setting variables - different in debug mode</title>
      <link>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169247#M40116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - I have tried some minor recoding and the initial problem seems to have gone away, so I'm keeping everything crossed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 18:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169247#M40116</guid>
      <dc:creator />
      <dc:date>2011-03-18T18:17:53Z</dc:date>
    </item>
    <item>
      <title>Bizarre behaviour setting variables - different in debug mode</title>
      <link>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169248#M40117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, keep in mind that certain QlikView APIs are not available when the macro is running "OnOpen"...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 19:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169248#M40117</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-03-18T19:55:17Z</dc:date>
    </item>
    <item>
      <title>Bizarre behaviour setting variables - different in debug mode</title>
      <link>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169249#M40118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a note that the .waitforidle script items caused a lot of probems with the Ajax version, although this was not obvious running from the client.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 14:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bizarre-behaviour-setting-variables-different-in-debug-mode/m-p/169249#M40118</guid>
      <dc:creator />
      <dc:date>2011-03-21T14:10:56Z</dc:date>
    </item>
  </channel>
</rss>

