To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=61061
Issue #:|61061
Summary:|OR is interpreted incorrectly when entered in Design
|view
Component:|Database access
Version:|OOo 2.0.1
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|none
Assigned to:|dbaneedsconfirm
Reported by:|phillg
------- Additional comments from [EMAIL PROTECTED] Mon Jan 23 08:06:04 -0800
2006 -------
Steps to Reproduce:
Write any query to a DB with at least three fields. In mine it looks like this
(screenshot 1):
field1 field2 field3
=1 ='AB' OR 'BT' LIKE 'EH*'
If you come out of the query or go in and out of the design view the querycomes
back like this:
field1 field2 field3
=1 = 'AB'
= 'BT' LIKE 'EH*'
Instead of making two lines with all the other criteria on, the OR has simply
been added and then with no brackets the SQL creates a result that is not
intended. If field2 had brackets around it then the SQL would be valid:
where field1 = 1 and (field2 = 'AB' OR 'BT') and field3 LIKE 'EH*'
---------------------------------------------------------------------
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]