Apache OpenOffice (AOO) Bugzilla – Issue 57435
Unable to query on boolian fields
Last modified: 2007-02-02 13:00:58 UTC
I have downloaded OOo_2.0.0_Win32Intel_install.exe & installed on a Win 2000 Pro machine. I have checked the MD5sum and that is fine. Use "Wizard to create Query", select the required table and those fields with File Type set to Yes/No [BOOLEAN] are not on the list of Available Fields. Use "Create Query in Design View", select the required table and the fields with File Type set to Yes/No [BOOLEAN] are available for selection - but finding a criterion that works is not easy. These examples work : SELECT "id", "fred", "george", "flag" FROM "Table1" "Table1" WHERE (( "flag" = False )) SELECT "id", "fred", "george", "flag" FROM "Table1" "Table1" WHERE (( "flag" = True )) but I can only enter/modify the WHERE clause in SQL view mode. That done, I can toggle design view on/off - and see FALSE (or TRUE) in the criterion field, but if I edit the criterion I get "Warning. Syntax error in SQL statement" and the query will not parse/run/save.
Hi, the first part that bool fields are not displayed in the wizard is issue 47418. The second part I can reproduce. I reassign the issue to the right developer. Bye Marc
Fixed in cws dba30.
Hi, There appear to be quite a few people waiting for this particular problem to be fixed, see for example : http://www.oooforum.org/forum/viewtopic.phtml?t=29731&sid=ae59398a44b95a085eeedb9155b45cf3 And also on the French users n-l list. Any idea when this is likely to integrated into head and qa'ed ? OOo Later isn't much help at the moment ? TIA, Alex
Hi Alex, If we get enough votes for this issue, it is no problem to get this fix into the PP2. Best regards, Ocke
*** Issue 63076 has been marked as a duplicate of this issue. ***
fs-> msc: please verify in CWS dba30 re-open issue and reassign to msc
reassign to msc
reset resolution to FIXED
targeting to 2.0.4, as the fix is already available, and has meanwhile been checked in in a 2.0.4-CWS
verified in cws dba30 You can found more information about this CWS in the EIS tool at http://eis.services.openoffice.org/EIS2/cws.SearchCWS
targeting to 2.1, since the fix is part of a CWS aiming for this release
Hi, this is fixed in the current master. The current master is available at http://download.openoffice.org/680/index.html I close this issue now. Bye Marc