Locked property
From: shaggles (anonymous_at_discussions.microsoft.com)
Date: 07/19/04
- Next message: Marshall Barton: "Re: SQL Query Trees in VBA?"
- Previous message: dimwit: "Re: all for number type"
- Next in thread: Allen Browne: "Re: Locked property"
- Reply: Allen Browne: "Re: Locked property"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 19 Jul 2004 12:47:41 -0700
I am trying to set the Locked property of a comment field
based on the user id. I got the following code from vb
help in access but I get an error message saying the
object doesn't support this property or method. The field
I'm trying to lock are on a subform. Does that make a
difference? I put the code in the On Curent event of the
subform.
Private Sub Form_Current()
If Me!UserID = CurrentUser Then
Me!Response.Locked = False
Me!Sign_Off.Locked = False
Else
Me!Response.Locked = True
Me!Sign_Off.Locked = True
End If
End Sub
- Next message: Marshall Barton: "Re: SQL Query Trees in VBA?"
- Previous message: dimwit: "Re: all for number type"
- Next in thread: Allen Browne: "Re: Locked property"
- Reply: Allen Browne: "Re: Locked property"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|