C
CJ
Hi Groupies
I have a subreport in a report footer. The subreport is visible and
invisible depending on it's data content, no problem there.
My problem is that the label that is attached to the subreport does not
disappear with the rest of the report, so it is always visible. I actually
need the label for this subreport so I need some help in making the label
disappear please.
I have tried the following code but I think I am using the wrong event (or
wrong code) because it is not working. I tried a few different events with
no luck.
If Me.rsubKitParts.Report.Recordset.RecordCount = 0 Then
Me.rsubKitParts_Label.Visible = False
End If
I have a subreport in a report footer. The subreport is visible and
invisible depending on it's data content, no problem there.
My problem is that the label that is attached to the subreport does not
disappear with the rest of the report, so it is always visible. I actually
need the label for this subreport so I need some help in making the label
disappear please.
I have tried the following code but I think I am using the wrong event (or
wrong code) because it is not working. I tried a few different events with
no luck.
If Me.rsubKitParts.Report.Recordset.RecordCount = 0 Then
Me.rsubKitParts_Label.Visible = False
End If