LO version: 7.2.6.2
OS: Windows 10
Dbase: MariaDB version “mysql Ver 15.1 Distrib 10.2.11-MariaDB, for Win64 (AMD64)”
Dbase connection: ODBC
I create a simple database and then a simple table. One of the fields is type “BIT”, length 1, NULL allowed.
I create a new ODBC data source.
I run Base and connect to this ODBC data source.
I go to “forms” and use the Wizard to create a new form (non-grid).
The form that then appears looks OK. But when I put something in any field and then try to save the data I get this:
Error inserting the new record
[MySQL][ODBC 8.0(a) Driver][mysqld-5.5.5-10.2.11-MariaDB]Data too long for column ‘bit_field’ at row 1
It doesn’t matter whether the BIT field is ticked or unticked.
… is there any known way actually to use a BIT field in a LO Base form?
If not, is there a way to “simulate” a one-BIT field, so that the user gets a tickbox (e.g. a TINYINT field, which could be set to 0 or 1)?