Boolean values in Delphi controls

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply

Boolean values in Delphi controls

Post by airsoft » Wed 16 Feb 2005 04:59

I generaly use Delphi componentys (checkboxes) to contain boolean values (True,False).
With the MySQL equivelants of 1 and 0; my query is:
Can you suggest the most efficient method of using such values with MYDAC data links in Delphi controls.

Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Wed 16 Feb 2005 12:09

You'd better use BOOLEAN fields in conjunction with DBCheckbox.

Post Reply