Ed Leafe wrote: > On Nov 21, 2008, at 9:02 PM, Roger Lovelock wrote: > >> Can do - how about I just zip up my project folder (includes the >> database) >> and send it to this email address? > > OK, I've finally tracked down the problem. It's an edge case that we > never considered. Since the text box starts out with an empty value, > (i.e., ""), and then gets set to the value in the first record, the > _oldVal = "". Now you clear that value, and click 'Next'. When it > comes time to flush, the Value and _oldVal are equal (an empty > string), so it skips the validation, figuring that you haven't changed > the value. > > 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.
But why is this not an issue in AppWizard-generated apps? Paul _______________________________________________ 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]
