On Sep 16, 2005, at 3:42 PM, Adi J. Sieker wrote:
Shouldn't the bizobj validate a new record before a second record
can be created or the cursor is moved?
Or how would one go about letting the user reenter data when saing
multiple
new records.
You can enter a million new records without saving any - that's
just they way things work, just like you can type a whole book in a
word processor without saving until it's complete. Likewise, you can
edit lots of different records without saving in between.
There is a form property, 'SaveAllRows', that determines if
calling save() and cancel() affects every row (True) or just the
current row (False). However, I don't see any facility in the
framework for recording the erroneous row; you might have to save it
in a bizobj attribute and then later return to that row so that the
user can correct the problem.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users