Tom Kennedy Posted September 14, 2009 Posted September 14, 2009 How do I determine if a record has been saved more than once? I have a field called "RecordStatus" in every table. I want to display the entered user, entered date and entered time in this field. If the record has been edited after the initial entry I want to display (in addition to the entered data fields previously described) the modified user, modified date and modified time. To get the result I want, I have compared the entered user and modified user along with the entered timestamp and the modified timestamp. Since the entered timestamp and the modified timestamp will always be different, all six fields of information show up on every entry. Any ideas?
Tom Kennedy Posted September 14, 2009 Author Posted September 14, 2009 Thanks for the file and your effort.
Tom Kennedy Posted September 14, 2009 Author Posted September 14, 2009 One thing that I discovered was Get ( RecordModificationCount ). This allows the modified information to appear only if the record has been edited and without any extra fields or code. Example: If ( Get ( RecordModificationCount ) ≠ 0 ; "Last Modified:" & ¶ & " by " & RecordModifiedUserID & ¶ & " on " & GetAsDate ( RecordModifiedTimestamp ) & ¶ & " at " & GetAsTime ( RecordModifiedTimestamp ) )
Recommended Posts
This topic is 5618 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now