On Sunday 29 November 2009 09:55:46 pm Paul McNett wrote:
> [moved to dabo-dev]
>
> Ed Leafe wrote:
> > modified: used to determine isChanged(), and included in INSERT.
> > default: not used to determine isChanged(), but included in INSERT.
> > blanks: not used to determine isChanged(), and not included in INSERT.
>
> +1, but we need a better way to flag blanks. I propose defining a string or
> class in dabo.db called DaboBlankField or "^^^DaboBlankField^^^". The
> cursor fills in the blanks with this value. The UI controls display the
> proper rendition of blank in the context of how the control works ("" for
> textbox, 0 for spinner, etc.)
>
> Paul

Playing devils advocate how does a developer force a blank string ('') or a 
zero value for the spinner.  And in the case of a spinner what if I wanted -1 
to be the no value indicator?  

Another question I have has to do with checkboxes.  What is 
the  "^^^DaboBlankField^^^" field value of a checkbox?  Afterall it has three 
values - checked, unchecked, no value?

What about list values - is it possible to have a  "^^^DaboBlankField^^^" 
value for a list?  I use lists for DB values all the time.  I see this being 
very difficult to work with - the list has to have the value in the list that 
is in the DB.

Johnf


_______________________________________________
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