I'm trying to suppress a logo based on a boolean @Accredited that changes later in the report.
if {@Accredited} = false then
true
else
false
The image is in the header, but @Accredited is further down and updated from a subreport. That all works great, but the header suppression doesn't seem to work. It's as if it checks if @Accredited is true or false the first time but never refreshes. How can I make sure the logo suppression checks after the report is finished completely?
This is the @Accredited formula:
Shared booleanvar bAccredited;
bAccredited;
bAccredited is set inside the subreport. This way I can see the value returned when debugging. There is more going on inside of the subreport, but it ultimately sets bAccredited to true or false, which is then picked up and displayed properly by @Accredited.