I have two simle mysql tables with no relationships set between them.
The database containing those tables is MariaDb and the JDBC driver I use to
connect is mariadb-java-client-2.2.6.
Both have a field named "num_vin" among various other fields.
And I created a simple form containing a subform.
The Main form has fields from table1, including "num_vin", and the Subform
has fields from table2, including "num_vin".
And I have set that the Main form field "num_vin" is connected to Sub form's
field "num_vin" so that when a record is shown in the Main form, it's
corresponding record will be shown in the Sub form.
This is all done in the GUI of LibreOffice Base, no basic code or macros
Now this all used to work (and is still working) in LibreOffice 6.0.6, but
in LibreOffice 6.1.0 throws this exception:
Could not set parameter at position 1 (values was 19)
Query - conn:10(M) - "SELECT * FROM `database`.`table2` WHERE (
`database`.`table2`.`num_vin` = :link_from_num_vin )"
And the Subform stays empty.
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
- [libreoffice-users] LibreOffice Base now does not apply named parameter substitution after upgrade from LO 6.0 to LO 6.1 and this breaks subforms based on mysql/mariadb tables · toodr
Impressum (Legal Info)
: 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