To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65943
                  Issue #:|65943
                  Summary:|Null values for Boolean Fields are very problematic
                Component:|Database access
                  Version:|OOo 2.0.2
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|none
              Assigned to:|dbaneedsconfirm
              Reported by:|ronnystandtke





------- Additional comments from [EMAIL PROTECTED] Wed May 31 00:05:37 -0700 
2006 -------
I was working on a form letter with a database backend. In this database I 
defined some Boolean fields. In the letter I had some conditional text 
depending on the Boolean fields in the database. Somehow it never worked right 
and I was so frustrated with OOo that I almost gave up.

After many many hours of try and error I noticed that the gray ticks in the 
database table are actually showing a "NULL" value. I was very surprised that 
a Boolean can be "NULL". I was even more surprised that you are defaulting 
to "NULL" when inserting values into a table. And my last surprise was that 
you use a selected(!) checkbox for rendering a "NULL" value.

To avoid the same frustration for other people you should:
- not support "NULL" values for Boolean fields per default (should only be 
supported as an option for database gurus)
- set Boolean fields per default to "FALSE" when inserting data into a 
database table
- use the string "NULL" for rendering "NULL" values

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to