Paul McNett wrote:
> Ed,
> 
> Can you remind me of the reason why biz.delete() must happen immediately 
> instead of waiting for biz.save(). And why biz.cancel() couldn't cancel 
> the pending deletions?

So if you want to delete data, you need to save it?

I think you are having flash backs to the days when deleting data didn't really 
delete it.


 > If this isn't something that we could put into Dabo, do you have
 > suggestions on how to implement this for my specific case?

Set a flag.  in your OK routine (what currently calls .save) call .delete for 
the flagged items.

 >
 > It still seems inconsistent that the other functions that modify the
 > dataset (new() and setFieldVal()) will cache the changes until save(),
 > while delete() must happen immediately without waiting for save().
 >

To me, .save and .delete operate at the same level: you can either save, or you 
can delete.  once you have done either, you are done.  so perfectly consistent.

Carl K



_______________________________________________
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