Thanks Ed - nice to know I'm not going crazy (or doing something silly thru 
ignorance)! On the assumption it will be fixed sometime soon I'll ignore the 
problem for now knowing it will go away and proceed on with my 
'explorations'! Thanks again,
         Rodgy
----- Original Message ----- 
From: "Ed Leafe" <[EMAIL PROTECTED]>
To: "Dabo Users list" <[email protected]>
Sent: Monday, November 24, 2008 2:40 AM
Subject: Re: [dabo-users] Bizobj Validation


> 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.
>
>
> -- Ed Leafe
>
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
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]

Reply via email to