I need to be able to set the Enabled and Locked properties of all fields in a form based on someones security level
I know I can do this
The only problem with this is I would have to do this for about 50 fields. Is there a way to do this for the entire detail section of a form. I have searched this forum but have not had any luck
I know I can do this
Code:
If Forms!frm_LogonStorage!SecurityLevel > 51 Then
Me.FirstName.Enabled = True
Me.FirstName.Locked = False
Else
Me.FirstName.Enabled = False
Me.FirstName.Locked = True
End If
The only problem with this is I would have to do this for about 50 fields. Is there a way to do this for the entire detail section of a form. I have searched this forum but have not had any luck