Hello.
I'm sure there is a simple solution but I'm out of ideas.
I have a form which feeds from a ODBD-linked table (oracle 920 driver). One of the fields is a memo-type 'Comments' field where the user can enter whatever they wish. I want to add a 'timestamp' like Now() to the end of it when they're finished typing, so I placed the following code in the 'beforeUpdate' even for this field.
However, when I go to the next record and come back to the previous record and try to edit the comments field again it gives me the error:
'Data has been changed. Another user edited this record and saved the changes before you attempted to save your changes. Re-edit the record.'
Any ideas? I tried using the saverecord command with no results.
I'm sure there is a simple solution but I'm out of ideas.
I have a form which feeds from a ODBD-linked table (oracle 920 driver). One of the fields is a memo-type 'Comments' field where the user can enter whatever they wish. I want to add a 'timestamp' like Now() to the end of it when they're finished typing, so I placed the following code in the 'beforeUpdate' even for this field.
Code:
Private Sub Issue_Comments_BeforeUpdate(Cancel As Integer)
Issue_Comments = Issue_Comments & Chr(13) & Chr(10) & Now() & Chr(13) & Chr(10)
End Sub
However, when I go to the next record and come back to the previous record and try to edit the comments field again it gives me the error:
'Data has been changed. Another user edited this record and saved the changes before you attempted to save your changes. Re-edit the record.'
Any ideas? I tried using the saverecord command with no results.