As do I generate a virtual field boolean ?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cybsistemas
Posts: 118
Joined: Mon 12 Sep 2005 17:31
Location: Argentina

As do I generate a virtual field boolean ?

Post by cybsistemas » Sat 23 Feb 2008 00:16

MyQuery.sql.text := 'select id, name, false as male from emp'

male is a virtual field, the version 5,20 LargeInt considers you and I cannot associate it to a TDBCheckBox

cybsistemas
Posts: 118
Joined: Mon 12 Sep 2005 17:31
Location: Argentina

Post by cybsistemas » Sat 23 Feb 2008 01:54

Thanks right now I realized

DBCheckBox1.ValueChecked := 1;
DBCheckBox1.ValueUnchecked := 0;

Post Reply