Paul McNett wrote: > On 4/6/10 1:04 PM, Ricardo Aráoz wrote: > >> >> What about enclosing everything between saves in a transaction, and >> having a cancel changes button which would roll it back? And it would >> make a good teaching on how to control transactions from within Dabo. >> I'd love to see how it is done. Can't take up too much coding to do it. >> > > I don't think a transaction should be held open for a potentially long time. Because?
And I should say I expressed myself badly. The transaction should be only opened before the first delete and a flag to mark if the transaction should be committed/rolled back in the save/cancel methods. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
