My customer want me to keep a log of any change that is made to a record and to also record who made the change.
I have a log in screen so I know who the user is. My problem is I'm not sure how to do the audit log.
He wants to know which field was changed, the existing data and the new data.
I visualize a new table which can be appended to with possibly 6 fields.
Field 1 would have the key to the record - in this case LabNo, Field 2 would be the user id, UserId,
Field 3 would hold the field name - e.g. PhoneNo,
Field 4 would have the current data - CurrentData
Field 5 would have the new data - NewData and Field 6 Date().
Any ideas?
Helen
I have a log in screen so I know who the user is. My problem is I'm not sure how to do the audit log.
He wants to know which field was changed, the existing data and the new data.
I visualize a new table which can be appended to with possibly 6 fields.
Field 1 would have the key to the record - in this case LabNo, Field 2 would be the user id, UserId,
Field 3 would hold the field name - e.g. PhoneNo,
Field 4 would have the current data - CurrentData
Field 5 would have the new data - NewData and Field 6 Date().
Any ideas?
Helen