Hello All,
I have a field on a report which I only want to display if the value is greater than zero. I tried the following code and parked it in the Report OnOpen Event. The error this codes generates is;
"You entered an expression that has no value"
Here's the code .....
Private Sub Report_Open(Cancel As Integer)
If Val(Me.NETCOLL) = 0 Then
Me.NETCOLL.Visible = False
Else
Me.NETCOLL.Visible = True
End If
End Sub
Any help is greatly appreciated!
I have a field on a report which I only want to display if the value is greater than zero. I tried the following code and parked it in the Report OnOpen Event. The error this codes generates is;
"You entered an expression that has no value"
Here's the code .....
Private Sub Report_Open(Cancel As Integer)
If Val(Me.NETCOLL) = 0 Then
Me.NETCOLL.Visible = False
Else
Me.NETCOLL.Visible = True
End If
End Sub
Any help is greatly appreciated!