Would this be possible (or even desirable)? I would like a single audit table that records any change made to data by any user on any form. The table would be something like:
AuditRef - PK
TableName - originating table of the field
FieldName - name of the changed field
OrgVal - Original value
NewVal - New field value
ChangeBy - user name who changed the field
ChangeDate
ChangeTime
I don't want an audit table for each form, rather a single table that records all record changes as described above. I could build a purge facility to rid the table of records every now and again.
Don't forget, the change made could be on any form or any table and would update the audit log table.
Any thoughts as to how or if this is possible?
Thanks in advance.
I haven't failed, I have just found 10,000 ways that it won't work!
AuditRef - PK
TableName - originating table of the field
FieldName - name of the changed field
OrgVal - Original value
NewVal - New field value
ChangeBy - user name who changed the field
ChangeDate
ChangeTime
I don't want an audit table for each form, rather a single table that records all record changes as described above. I could build a purge facility to rid the table of records every now and again.
Don't forget, the change made could be on any form or any table and would update the audit log table.
Any thoughts as to how or if this is possible?
Thanks in advance.
I haven't failed, I have just found 10,000 ways that it won't work!