I have the following code in a subform which adds the date, user and a dividing line in a memo field:
Private Sub Command2_Click()
Me!Correspondence = Now() & "--" & CurrentUser() & vbCrLf & "-----------------------------------------------------------------------------------------------------------------------------------------------" & " " & vbCrLf & Me Correspondence
What I have not been able to do is protect the data that is already there from edits, I have tried Allowedits = False but it also shuts me out from adding to the field. I do have the security set up so that Admin and Full-users can have the run of the data and tables, but I need this one memo field to be accessed by all users.
I also haven't had any luck in moving the focus/cursor to the date/user line the above command creates, but that is a distant second to controlling access.
Any ideas will be welcome, Thanks
Private Sub Command2_Click()
Me!Correspondence = Now() & "--" & CurrentUser() & vbCrLf & "-----------------------------------------------------------------------------------------------------------------------------------------------" & " " & vbCrLf & Me Correspondence
What I have not been able to do is protect the data that is already there from edits, I have tried Allowedits = False but it also shuts me out from adding to the field. I do have the security set up so that Admin and Full-users can have the run of the data and tables, but I need this one memo field to be accessed by all users.
I also haven't had any luck in moving the focus/cursor to the date/user line the above command creates, but that is a distant second to controlling access.
Any ideas will be welcome, Thanks