On my file .odb connected directly at Microsoft Access file, now my Query get this error : SQL Status: 3075 Error code: -2147217900 Syntax error (missing operator) in query expression ''2012-2013' `Campagna`'. This is the query : SELECT '2012-2013' AS `Campagna`, 'OLIO' AS `Prodotto`, `DO_NUDOC` AS `NrDoc`, `DO_DTDOC` AS `DataDoc`, `DO_DESTI` AS `Cliente`, `DO_TOTAL` AS `TotFattura` FROM `DOCUMENTI` WHERE `DO_TPDOC` = 'FT' AND `DO_DESTI` IN ( '222', '180' ) If I connect my .odb via ODBC the query work fine, but i have worked correctly with LO < 4.3 and direct connection at file .mdb Tried on 2 pc with LO 4.3.5 and 4.1.1 OO 4.1.1 work !
Hello, Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Created attachment 113444 [details] demo file .mdb (MS Access < 2007 version)
Created attachment 113445 [details] file .odb attached to demo file .mdb In this file from menu Edit->Database->Propertiers... select the correct path to .mdb file
Created attachment 113557 [details] sql query missing comma in your query is comma "," missing between 'First name' and 'Name'
Can you see if bug 83454 is similar to your problem so that I can mark your report as a duplicate of it? (Later bugs are generally marked as duplicates of earlier bugs).
(In reply to raal from comment #5) > Can you see if bug 83454 is similar to your problem so that I can mark your > report as a duplicate of it? (Later bugs are generally marked as duplicates > of earlier bugs). I realized that the problem is in aliases, but considering that the queries works properly via ODBC Yes is same problem to bug 83454 ! In your comment #4 : to write SELECT "First name" "Name" FROM ... is same method to SELECT "First name" AS "Name" FROM ...
The problem is also present in LO 4.4.1
*** This bug has been marked as a duplicate of bug 83454 ***