This document describes how to display or hide a report control in a published document based on a specified logical condition.

  • Select the required control, switch to the Expressions panel and click the Visible property’s ellipsis button.
  • In the invoked Expression Editor, specify the required expression.

Use the Iif function to define the required condition. For example:

Iif([Discontinued] == False, False, [Discontinued])

This expression means that if the data field’s value is False, the control’s Visible property’s value is also False.

When switching to Print Preview, you can view the report control’s visibility changes according to the assigned condition.

Revision: 1
Last modified: Aug 26, 2019


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment