https://bugs.documentfoundation.org/show_bug.cgi?id=133997
Bug ID: 133997
Summary: Base Editing Create Query in Design View generates
incorrect SQL
Product: LibreOffice
Version: 6.0.7.3 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Base
Assignee: [email protected]
Reporter: [email protected]
Description:
I wanted to generate the following query
SELECT * FROM "Table1" WHERE ( "FieldA" = :AskA OR "FieldA" IS NULL) AND
("FieldB" = :AskB OR "FieldB" IS NULL )
Steps to Reproduce:
1.Queries>Create Form In Design View
2.Enter query as per attached screenshot
3.Click on Switch Design View On/Off
Actual Results:
SELECT * FROM "Table1" WHERE ( "FieldA" = :AskA AND "FieldB" = :AskB OR
"FieldA" IS NULL AND "FieldB" IS NULL )
Expected Results:
SELECT * FROM "Table1" WHERE ( "FieldA" = :AskA OR "FieldA" IS NULL) AND
("FieldB" = :AskB OR "FieldB" IS NULL )
Reproducible: Always
User Profile Reset: No
Additional Info:
It works fine for a single field. The more fields you add the more confused it
gets.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs