Conditionally Hide a PageLayer¶
This option opens the function editor dialog in which a condition to hide the page layer can be written. The function is a built-in function, which means it cannot be accessed from the integration level. Therefore, create a function using a report parameter field or a user-defined function when this is desired.
An example of such a function is:
if {?HidePageLayers} = 1 or {&Total Record Count} = 0 then
return true
else
return {?CorporateLogoNum} <> 1
end
The function above addresses two report parameters—named HidePageLayers and CorporateLogoNum—to hide a certain page layer.