On Monday 08 June 2009 05:04:37 pm Roger Lovelock wrote:
>  self.requery()
> self.cancel()
> self.new()

Ed shouldn't that still work?  
self.requery() # resets the data 
self.cancel()  # cancels any changes
self.new() # a new record is created.

But you don't need the requery or cancel.  Just do the new().  Dabo will take 
care of the issue.  If you are having a screen refresh issue (like the grid 
is not displaying your newly saved record) then you can issue an 
self.update().  That said try to avoid doing that.  I normally get away with 
using self.grid.refresh().  But I also have been forced to use an update().

-- 
John Fabiani
_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/200906081712.58029.jfabi...@yolo.com

Reply via email to