dbCheckbox not updating - delphi
Posted: Tue 05 Jun 2018 13:20
I have a dbcheckbox and the changes are not being recorded. I can check and uncheck the box but nothing is stored.
In MySql I tried setting the type to Char(1), Bit, Int(1) and binary. Char and Binary do not cause Delphi to crash. In the fieldkind of Delphi, all MySql fields come through as fkData.
In the object inspector, Delphi seems to know what is TStringField and TIntegerField but there is no where to change this type.
Not sure how to go forward other than writing code.
Thanks Wallace.
In MySql I tried setting the type to Char(1), Bit, Int(1) and binary. Char and Binary do not cause Delphi to crash. In the fieldkind of Delphi, all MySql fields come through as fkData.
In the object inspector, Delphi seems to know what is TStringField and TIntegerField but there is no where to change this type.
Not sure how to go forward other than writing code.
Thanks Wallace.