BVA Code to hide TextBox

S Acharya

New member
Local time
Tomorrow, 08:36
Joined
Sep 1, 2007
Messages
5
Hi,

I want to print textbox in the reprot if value is >0. I have written follwing code but no effect of it.
***********************
Private Sub Text98_GotFocus()
Dim myVer As Currency
myVer = Text98.Value

If myVer >= 0 Then
Me.Text98.Visible = True
Else
Me.Text98.Visible = False

End If
End Sub
**************************

Thanks for help in advance.
 

Users who are viewing this thread

Back
Top Bottom