skea
Registered User.
- Local time
- Today, 21:59
- Joined
- Dec 21, 2004
- Messages
- 342
I have a sub Report in the detail section of its parent. I need to hide the detail part of the parent if the subReport corresponding to the record has no data.
Here is what iam trying to do but failing, any ideas...
Here is what iam trying to do but failing, any ideas...
Code:
Private Sub Report_NoData(Cancel As Integer)
Me.Parent.Section(0).Visible = False
End Sub