L
leesah
I'd like to create a trackable way of keeping history on what and who changed
the record. I am envisioning a process that would open the record and copy
the data into a new form. Once the user changes the data, it would then
commit the new record into the database with the user name and time stamp of
the change - and then flip an inactive flag on the original record. This way
we'll be able to see change over time and by who.
I thought of putting in another table, but was wondering if it would be
better to manage if it was in the same table.
So - - two questions:
1.) What is the best way to copy an existing record and allowing the new
copy to be edited?
2.) When keeping history, should I keep it in the same table or not?
the record. I am envisioning a process that would open the record and copy
the data into a new form. Once the user changes the data, it would then
commit the new record into the database with the user name and time stamp of
the change - and then flip an inactive flag on the original record. This way
we'll be able to see change over time and by who.
I thought of putting in another table, but was wondering if it would be
better to manage if it was in the same table.
So - - two questions:
1.) What is the best way to copy an existing record and allowing the new
copy to be edited?
2.) When keeping history, should I keep it in the same table or not?