How to generate a ftBoolean from a Query?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Willo
Posts: 34
Joined: Thu 24 Aug 2006 18:29

How to generate a ftBoolean from a Query?

Post by Willo » Thu 09 Aug 2007 22:56

Im trying to generate a ftBoolean field, but the field i got is ftLargeint, how i should do it?

this is my query:

Select sl_pol,sl_aseg,sl_num,sl_cia,sl_tipo,re_num,re_cant,
(re_record='G') as seleccionado,re_mon,re_end
from polizas inner join recibos on re_pol=sl_pol

seleccionado is the field in question.

TIA

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 13 Aug 2007 13:31

I guess that you mean the seleccionado field.
There is no possibility to determine that this field is a boolean field because MySQL server does not provide enough information for that. That is why MyDAC considers such fields as TLargeInt fields.

Post Reply