View Full Version : VISABLE TEXT BOXES


dadesiboy
07-26-2001, 12:45 PM
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
07-26-2001, 01:59 PM
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
07-27-2001, 06:52 AM
THANK YOU!!!! IT WORKED PERFECT!!!