I want to check if a report (sub_report) contains any data. If it doesn't it should not show. If it does it should show.
I've tried this so far, but it doesn't work. Any ideas? (The sub_report is based on a query)
Private Sub Report_Open(Cancel As Integer)
If IsNull(Me.rpt_subReport) Then
Me.Warning.Visible = False
Me.rpt_subReport.Visible = False
End If
End Sub
I've tried this so far, but it doesn't work. Any ideas? (The sub_report is based on a query)
Private Sub Report_Open(Cancel As Integer)
If IsNull(Me.rpt_subReport) Then
Me.Warning.Visible = False
Me.rpt_subReport.Visible = False
End If
End Sub