BVA Code to hide TextBox

S Acharya

New member
Local time
Today, 17:59
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.
 
In a Report use the OnPrint Event for this.
 

Users who are viewing this thread

Back
Top Bottom