I'm trying to implement an auditing facility for an application. The TOracleDataset.AfterPost event is used to pass TDataset to a method which collects the relevant information and then passes it to a class.
I'm using TDataset.UpdateStatus to check what happened, ie. Insert, Update or Delete. Insert and Update work fine, but when a record is deleted I get usUnmodified instead of usDeleted. Any ideas?
I'm using TDataset.UpdateStatus to check what happened, ie. Insert, Update or Delete. Insert and Update work fine, but when a record is deleted I get usUnmodified instead of usDeleted. Any ideas?