Subject | Re: [IBO] Delete problem in Multi-User environment |
---|---|
Author | Marcel Brink |
Post date | 2003-07-17T21:33:36Z |
Hi,
Within the CheckOperation it checks to see if the ErrorEvent is
assigned. Even if I assign the OnError or OnDeleteError event they
are not triggered.
TIB_UpdateSQL.SQL_Delete
TIB_Dataset.SQL_DeleteRow
TIB_BDataset.SQL_DeleteRow
TIB_Dataset.SysDeleteCursorRow
TIB_BDataset.SysDeleteCursorRow
TIB_Dataset.SysPostDeletedRow
TIB_Dataset.CheckOperation($264EF1C,nil)
TIB_Dataset.SysExecPost(???)
TIB_BDataset.SysExecPost(???)
TIB_Dataset.SysPost(???,False)
TIB_BDataset.SysPost(???,???)
TIBOInternalDataset.SysPost(True,???)
TIB_Dataset.Post
TIB_Dataset.SysDelete
TIB_Dataset.Delete
TIBODataset.InternalDelete
TdmCountry.DeleteCurrentRecord
TfrmCountry.actFileDeleteExecute(???)
Marcel Brink
Xploration.
> Can you run the app using Debug DCUs and set a breakpoint inAs you can see below, the CheckOperation takes place in TIB_Dataset.
> the TDataSet.Delete; method (vcl db.pas unit). Stepping
> through the code should take you into TDataSet.CheckOperation
Within the CheckOperation it checks to see if the ErrorEvent is
assigned. Even if I assign the OnError or OnDeleteError event they
are not triggered.
TIB_UpdateSQL.SQL_Delete
TIB_Dataset.SQL_DeleteRow
TIB_BDataset.SQL_DeleteRow
TIB_Dataset.SysDeleteCursorRow
TIB_BDataset.SysDeleteCursorRow
TIB_Dataset.SysPostDeletedRow
TIB_Dataset.CheckOperation($264EF1C,nil)
TIB_Dataset.SysExecPost(???)
TIB_BDataset.SysExecPost(???)
TIB_Dataset.SysPost(???,False)
TIB_BDataset.SysPost(???,???)
TIBOInternalDataset.SysPost(True,???)
TIB_Dataset.Post
TIB_Dataset.SysDelete
TIB_Dataset.Delete
TIBODataset.InternalDelete
TdmCountry.DeleteCurrentRecord
TfrmCountry.actFileDeleteExecute(???)
Marcel Brink
Xploration.