On Jan 29, 2010, at 12:35 PM, Jacek Kałucki wrote:
> - save(), requery() and clear() updates dataset and _deletedRecords,
> additionally save() checks _deletedRecords and updates backend
> accordingly.
So in order to delete a record, you need to save it? Sounds like
Windows: in order to stop the system, you need to click 'Start'.
> Currently to achieve something similar I need to create local copy of
> dataset
> and then in beforeSave() update framework dataset and then backend.
Then you have a solution for your particular app. I've seen others that
emulate the behavior of old Xbase systems by adding a 'deleted' virtual field.
But I think the notion of delete() not really deleting is not the norm, and
should not be a framework behavior.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]