Victor Zajac
2008-04-22 18:02:01 UTC
I'm using Delphi 7, Firebird 2.0.3, TSimpleDataSet. One of the fields is of TimeStamp type, and a before insert trigger sets its value to current_timestamp. When I intend to apply updates after deleting a record, a 'Record not found or changed by another user' exception is raised. I think the problem is the conversion between Delphi format of a timestamp and the actual value stored in the table, so I only want to exclude that field from the where clause in updates and deletes. How can I do that using TSimpleDataSet? Thanks in advance.