[Libreoffice-bugs] [Bug 141132] SQL Query to MARIADB fails (conn=1411) Could not set parameter at position..... in a formular

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 25 16:26:20 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=141132

Robert Großkopf <robert at familiegrosskopf.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robert at familiegrosskopf.de

--- Comment #3 from Robert Großkopf <robert at familiegrosskopf.de> ---
Could be it is a problem with parameters.

If this is a part of the content.xml in the Base file:
<db:driver-settings db:system-driver-settings="" db:base-dn=""
db:parameter-name-substitution="false"/>

You have to change it to
<db:driver-settings db:system-driver-settings="" db:base-dn=""/>

You could also try it by running the macro:

SUB FB_Parameter
DIM oSettings AS OBJECT
oSettings = ThisComponent.DataSource.Settings
oSettings.ParameterNameSubstitution = True
END SUB

This will change it also. The possibility to change this in additional
properties for the database has been gone for MySQL/MariaDB

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210325/c3f96c3c/attachment.htm>


More information about the Libreoffice-bugs mailing list