Hi I'm wondering if it is possible to hide textboxes inside data report with conditions.
i have searched for ways on hiding text/label and I have tried this kind of code but it won't work:
Private Sub DataReport_Initialize()
If DataReport2.Sections("Section1").Controls(Text14).Text = "none" Then
DataReport2.Sections("Section1").Controls(Text14).Visible = False
End if
End Sub
Need this asap. Any help will be appreciated. thanks! :cry:
i have searched for ways on hiding text/label and I have tried this kind of code but it won't work:
Private Sub DataReport_Initialize()
If DataReport2.Sections("Section1").Controls(Text14).Text = "none" Then
DataReport2.Sections("Section1").Controls(Text14).Visible = False
End if
End Sub
Need this asap. Any help will be appreciated. thanks! :cry: