Użytkownik Ed Leafe napisał:
> 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'.
>    

I could answer: why in order to create new record I need to click 'Save'?
Answer to question why buffer deleting operation is the same
as answer why we do buffer new operations IMHO.
There should be a symmetry here.
I rather think that situation that I can restore modified data
in child bizobj, but can't undone deleted is a bit odd.
But I know that approaches differs and there exist editors
that offers undo till save point, and other that offer much more...

>> 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.
>
>    

Ok. Thanks for response.

-- 
Regards
Jacek Kałucki


_______________________________________________
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]

Reply via email to