C
CJ
Hi Groupies!!
I am trying to make a field invisible based on the content of another field.
I don't think this should be that difficult, but I am unable to find out how
to do it.
My code is as follows:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
If Me.strDeptName = "Occupational Therapy" Then Me.SumOflngPufHrsPT
Visible = False
End Sub
I keep receiving the error "Invalid Use of Property" when I try to compile.
Can somebody please help me with this?
Thanks
CJ
I am trying to make a field invisible based on the content of another field.
I don't think this should be that difficult, but I am unable to find out how
to do it.
My code is as follows:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
If Me.strDeptName = "Occupational Therapy" Then Me.SumOflngPufHrsPT
Visible = False
End Sub
I keep receiving the error "Invalid Use of Property" when I try to compile.
Can somebody please help me with this?
Thanks
CJ