Audit Trail (1 Viewer)

sxschech

Registered User.
Local time
Yesterday, 20:49
Joined
Mar 2, 2010
Messages
792
Something I usually do when finding suitable code is copy the weblink and the date I put into my database. That way even if the code itself didn't contain the notice (which I keep as well if it is included in the code), there is still a reference from where it came from (of course that does not rule out that the original source of the code was from somewhere else).

Code:
'https://www.access-programmers.co.uk/forums/threads/audit-trail.324261/#post-1838647
'20220804
 

jdraw

Super Moderator
Staff member
Local time
Yesterday, 23:49
Joined
Jan 23, 2006
Messages
15,378
The Martin Green audit trail has a variety of shortcomings as note in the link referenced in post #8.
-identifies the wrong record in the log
-does not handle subforms
 

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 23:49
Joined
Feb 19, 2002
Messages
43,257
My apologies but I did start off trying to use Allan Browne's Code but it did not deal with a Subform.
A subform is a form. If you put the audit log code in the correct event of a subform, it will work just fine. If you try to do the logging from the main form, you won't be able to because the mainform doesn't "see" the subform events.
 

Users who are viewing this thread

Top Bottom