Page 1 of 1

As do I generate a virtual field boolean ?

Posted: Sat 23 Feb 2008 00:16
by cybsistemas
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

Posted: Sat 23 Feb 2008 01:54
by cybsistemas
Thanks right now I realized

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