josephbupe
Registered User.
- Local time
- Today, 11:01
- Joined
- Jan 31, 2008
- Messages
- 247
Greetings,
I want to lock data editing on the details form for the "data" user based on:
whether the date the record was added is equal or greater than today's date and the time elapsed is equal or more than 20 minutes
Any help is most welcome.
Thanks
I want to lock data editing on the details form for the "data" user based on:
whether the date the record was added is equal or greater than today's date and the time elapsed is equal or more than 20 minutes
Code:
If DLookup("[data]", "tblCoordinators", "[userID]='" & Forms!frmEvents_Menus!txtUserID.Value & "'") = -1 Then
If Not IsNull(Me.txtEvent_ID) & Me.txtJustDate <> Now() & Me.txtJustTime <> 00:00:20 Then
Me.AllowEdits=false
End If
Any help is most welcome.
Thanks
Last edited: