You can use the IsVisible property in Visual Basic to determine whether a control on a report is visible.
Setting
The IsVisible property uses the following settings.
Setting | Description |
---|---|
True (–1) | (Default) The control is visible. |
False (0) | The control isn't visible. |
You can set the IsVisible property only in the Print event of a report section that contains the control.
Remarks
You can use the IsVisible property together with the HideDuplicates property to determine when a control on a report is visible and show or hide other controls as a result. For example, you could hide a line control when a text box control is hidden because it contains duplicate values.