Hi,
I need some help width a problem. I need to hide some fields and labels that don't have value on it in the report. I have tried this code:
Option Compare Database
Private Sub Detalhe_Print(Cancel As Integer, PrintCount As Integer)
End Sub
Private Sub Detalhe_Print(Cancel As Integer, PrintCount As Integer)
If IsNull(Me.apoiofinanceiroaprovado) Or Me.apoiofinanceiroaprovado = "" Then
Me.Rótulo45_Rótulo.Visible = False
Else
Exit Sub
End If
End Sub
But it don't work. The field and the label without values are still appearing on the report.
Could someone help me?
Regards