VISABLE TEXT BOXES (1 Viewer)

dadesiboy

New member
Local time
Today, 06:38
Joined
Jun 20, 2000
Messages
9
Function VISABLE()
I need to hide some files if the value of compute class is equal to unix-workstation.. but this code doesn't work.. can any one help debug this.. thanks


Dim x
x = "UNIX-Workstation"

If x = Fields!("Compute_Class").Value Then
Fields!("OS_PC/NT").VISABLE = False
End If


End Function
 

Jack Cowley

Registered User.
Local time
Today, 06:38
Joined
Aug 7, 2000
Messages
2,639
Try:

If Me![Compute_Class] = "UNIX-Workstation" Then
Me![OS_PC/NT].Visible = False
End If

You can put this code in the On Current event of the form or in the After Update event of the Compute_Class field....

[This message has been edited by Jack Cowley (edited 07-26-2001).]
 

dadesiboy

New member
Local time
Today, 06:38
Joined
Jun 20, 2000
Messages
9
THANK YOU!!!! IT WORKED PERFECT!!!
 

Users who are viewing this thread

Top Bottom