Nightchild
02-26-2008, 12:26 AM
I would like to maintain an audit (change) log for changes to my database. Along the idea of user xxx changed price1 from $yyy to $zzz on ddd/mm/yy
There are about 20-30 fields involved. The only two ways that I can think of to have an audit log are to a) have a hidden copy on the forms of the original value and compare hidden to user entered or b) make a temp copy of the DB record before update and compare it to the new record.
Is there a more practical way of maintaining an audit log? This seems like a huge amount of over-head for this task.
Thanks
There are about 20-30 fields involved. The only two ways that I can think of to have an audit log are to a) have a hidden copy on the forms of the original value and compare hidden to user entered or b) make a temp copy of the DB record before update and compare it to the new record.
Is there a more practical way of maintaining an audit log? This seems like a huge amount of over-head for this task.
Thanks