<?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 Using Variables in Detail in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Using-Variables-in-Detail/m-p/1532946#M22113</link>
    <description>&lt;P&gt;I've been fighting this all day and I've got a solution, but I don't know why!!&lt;/P&gt;
&lt;P&gt;I've created a PixelPerfect report and it all looks good, but there are times I need to display a warning notice at the beginning of the report. The Load Script sets a variable to the value of 0 or -1 depending on whether or not the warning should be displayed.&lt;/P&gt;
&lt;P&gt;In NPrinting I have added the variable and it's all good. So far. I add a couple of sub bands to the detail and add a Formatting Rule to the first one with a condition of:&lt;/P&gt;
&lt;PRE&gt;Iif([vL_ReportIsOutOfDate]=0,True,False)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and set the visible to false.&lt;/P&gt;
&lt;P&gt;When I run the report the condition doesn't work and the hidden band is displayed, but if&amp;nbsp;I drag and drop the variable onto the detail band or the page header, then the variable appears to be evaluated and the sub band is hidden. The only way I can get this to work is by putting the variable in a hidden box at the top of the page and I don't know why! Can anyone explain what's going on?&lt;/P&gt;
&lt;P&gt;For info, I'm (still) using NPrinting 16.2 with Qlikview 11.2.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2019 19:42:54 GMT</pubDate>
    <dc:creator>oharab2000</dc:creator>
    <dc:date>2019-09-25T19:42:54Z</dc:date>
    <item>
      <title>Using Variables in Detail</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Using-Variables-in-Detail/m-p/1532946#M22113</link>
      <description>&lt;P&gt;I've been fighting this all day and I've got a solution, but I don't know why!!&lt;/P&gt;
&lt;P&gt;I've created a PixelPerfect report and it all looks good, but there are times I need to display a warning notice at the beginning of the report. The Load Script sets a variable to the value of 0 or -1 depending on whether or not the warning should be displayed.&lt;/P&gt;
&lt;P&gt;In NPrinting I have added the variable and it's all good. So far. I add a couple of sub bands to the detail and add a Formatting Rule to the first one with a condition of:&lt;/P&gt;
&lt;PRE&gt;Iif([vL_ReportIsOutOfDate]=0,True,False)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and set the visible to false.&lt;/P&gt;
&lt;P&gt;When I run the report the condition doesn't work and the hidden band is displayed, but if&amp;nbsp;I drag and drop the variable onto the detail band or the page header, then the variable appears to be evaluated and the sub band is hidden. The only way I can get this to work is by putting the variable in a hidden box at the top of the page and I don't know why! Can anyone explain what's going on?&lt;/P&gt;
&lt;P&gt;For info, I'm (still) using NPrinting 16.2 with Qlikview 11.2.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 19:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Using-Variables-in-Detail/m-p/1532946#M22113</guid>
      <dc:creator>oharab2000</dc:creator>
      <dc:date>2019-09-25T19:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Variables in Detail</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Using-Variables-in-Detail/m-p/1566160#M23384</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;
&lt;P&gt;This is working as intended in that the entity (variable in your case) must be on the report itself for it to be evaluated. There are several examples of this being discussed in these forums, here is one (go through all comments):&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-define-a-PixelPerfect-DetailReport-Visibility-via-Script/td-p/1054324" target="_self"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/How-to-define-a-PixelPerfect-DetailReport-Visibility-via-Script/td-p/1054324&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;HTH - Daniel.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 23:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Using-Variables-in-Detail/m-p/1566160#M23384</guid>
      <dc:creator>Daniel_Jenkins</dc:creator>
      <dc:date>2019-04-07T23:06:56Z</dc:date>
    </item>
  </channel>
</rss>

