> Add a calculated field to the dataset ( bdel)
> Abort the deletion in afterdelete event of dataset
> Set bDel field to true.
Huh, it is exactly what I was thinking.
If you have access the dataset and may add a new column/boolean: "Mark as
deleted", this will be the best.
And before dataset.ApplyUpdates" is called, first delete all the rows that
have "Mark as deleted" = true.
But if you are not allowed to add a new column in dataset, I do not see how
> But how to set status to uDeleted ?
IMHO, adataset.updatestatus (usInserted, usModified or usDeleted) is
You may not change it manually.
(But maybe I am wrong, I did not check it).