techkenny1
Technical User
Hi
I require some help in formulating an IF statment.
On a form that details clients data I have a check box which if it is a company would = true and if private would = false.
What I need is that when you come to a private record some of the data fields afre made invisible.
I tried this to see if it would work..
Private Sub PrCo_AfterUpdate()
If PrCo = true then
Fieldname.visible = false
Else
Fieldname.visible = true
End if
End Sub
But it does not work..
What error have I made please
kp
I require some help in formulating an IF statment.
On a form that details clients data I have a check box which if it is a company would = true and if private would = false.
What I need is that when you come to a private record some of the data fields afre made invisible.
I tried this to see if it would work..
Private Sub PrCo_AfterUpdate()
If PrCo = true then
Fieldname.visible = false
Else
Fieldname.visible = true
End if
End Sub
But it does not work..
What error have I made please
kp