Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

Le 20/08/13 07:54, mhaverin a écrit :


It doesn't seem to work. I tried SELECT "col1" FROM "tbl1" WHERE "col2" = :x
and just got a bunch of errors (listed below). I did some googling already
but didn't find anything yet. I have some actual work that has to be done so
I'm going to have to return to this a little later. Thanks for the tip!

Did you try switching the SQL button (ESCAPE_PROCESSING) on/off and
running the query again ?

For example, this works for me from the "Create a Query in SQL mode"
window with :
- an embedded HSQLDB
- a mysqldb connected over the mysql JDBC connector driver
- a mysqldb connected over a native mysql C connector driver

However, in order for it to work, I have to have the SQL button not
pressed, i.e. ESCAPE_PROCESSING is turned off. If I activate the direct
SQL execution using the db engine's own SQL parser, the parameterized
query fails (at least on mysql).

The answer to your problem may (hopefully) simply lie in turning
ESCAPE_PROCESSING "off" in your Basic routine. If that doesn't work,
then there is probably some kind of problem with the driver code that LO


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.