jetspin
Programmer
- Mar 5, 2002
- 76
Hi.
I am tring to prevent a text box and label from appearing
on a 1 page report, but cannot locate the right .visible property for either? Can anyone help?
I can find Application, Column, Controls, Formproperties etc... but not the standard properties like .visible.
Here is what I have so far...Please note how I had to select 'FORM' to get to the "VISIBLE" property which
is not for the text box or label. Am I at the wrong
event? I eventually want to suppress the printing of this
'row' and have all next text move 'up if possible.
Thanks.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.txtordOther1Out = "" Then
Me.txtordOther1Out.Form.Visible = False
Me.lblOther1.Form.Visible = False
End If
End Sub
I am tring to prevent a text box and label from appearing
on a 1 page report, but cannot locate the right .visible property for either? Can anyone help?
I can find Application, Column, Controls, Formproperties etc... but not the standard properties like .visible.
Here is what I have so far...Please note how I had to select 'FORM' to get to the "VISIBLE" property which
is not for the text box or label. Am I at the wrong
event? I eventually want to suppress the printing of this
'row' and have all next text move 'up if possible.
Thanks.
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Me.txtordOther1Out = "" Then
Me.txtordOther1Out.Form.Visible = False
Me.lblOther1.Form.Visible = False
End If
End Sub