On Nov 23, 2008, at 9:40 AM, Ed Leafe wrote:
> The original value is supposed to be None, but since text controls
> can only store strings, we are inadvertently converting the original
> None to an empty string. I'll have to review the conversion routines
> in the text controls to see where that is going wrong.
I've tried various changes, and each of them breaks some existing
behavior. So what I've done is set the validation to always run if the
initial value is empty. This might take a few more cycles, but this is
an extremely lightweight call.
I've also fixed a problem that I never came across before: if you
edit a field to an invalid state and click 'Next', the error message
displays briefly and the invalid value is discarded, but the form
happily moves to the next record. Now, if field validation fails, the
navigation is canceled until you correct the problem.
-- Ed Leafe
_______________________________________________
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]