M
melbourno
I'm currently using the below code to lock a textbox after the user
enter their information. Because I don't want them to go back and
change it. However, after the user saves the entry and wants to enter
new information as new record it doesn't allow him.
Private Sub Text91_AfterUpdate()
Me.Text91 = Now & ", " & vbCrLf & Me.Text91
Screen.ActiveControl.Locked = Not IsNull(Screen.ActiveControl)
End Sub
enter their information. Because I don't want them to go back and
change it. However, after the user saves the entry and wants to enter
new information as new record it doesn't allow him.
Private Sub Text91_AfterUpdate()
Me.Text91 = Now & ", " & vbCrLf & Me.Text91
Screen.ActiveControl.Locked = Not IsNull(Screen.ActiveControl)
End Sub