C
clayton ledford
Hello,
I have seen the main write-up on doing an audit trail, but i'm not sure that
I have the knowledge to implement it in an existing form.
I have a Form linked to a master table with one field: Account. My form
has a sub-form (datasheet) with the following:
Main_Form
Account (Pk)
Date_Added (pk)
Approved_Status
Pending_Status
So, the sub-form could show multiple records for the same account. Users
update only the "status" fields. I want to create an audit trail on the
"status" changes. I created a separate table with the following fields:
Audit_Table
Account (pk)
Change_Date_Time (pk)
Field_Changed
Change_Result
I want to add something to the after update event of the fields for
"Approved_Status" and "Pending_Status" that populates the audit table with
the appropriate information.
Thanks in advance for any guidance you can provide.
I have seen the main write-up on doing an audit trail, but i'm not sure that
I have the knowledge to implement it in an existing form.
I have a Form linked to a master table with one field: Account. My form
has a sub-form (datasheet) with the following:
Main_Form
Account (Pk)
Date_Added (pk)
Approved_Status
Pending_Status
So, the sub-form could show multiple records for the same account. Users
update only the "status" fields. I want to create an audit trail on the
"status" changes. I created a separate table with the following fields:
Audit_Table
Account (pk)
Change_Date_Time (pk)
Field_Changed
Change_Result
I want to add something to the after update event of the fields for
"Approved_Status" and "Pending_Status" that populates the audit table with
the appropriate information.
Thanks in advance for any guidance you can provide.