AsInteger TinyInt(1) not possible

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Thomas J.
Posts: 95
Joined: Mon 21 Nov 2005 12:16
Location: Germany

AsInteger TinyInt(1) not possible

Post by Thomas J. » Tue 06 Jan 2009 15:02

I cannot acces the field value by using AsInteger. The field type is TinyInt(1) MySQL. The MySQL component are working with EnableBoolean=false.

How can access the int value?

Thanks Thomas

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 08 Jan 2009 15:27

I can not reproduce the problem.
Please make sure that the EnableBoolean option is set to False.
If this still does not solve the problem, please send me a complete small sample to dmitryg*devart*com to demonstrate it including a script to create and fill table.

Thomas J.
Posts: 95
Joined: Mon 21 Nov 2005 12:16
Location: Germany

Post by Thomas J. » Fri 09 Jan 2009 05:30

Sorry, but where can I find this option?
In MyDAC i could use in Option->EnableBoolean but in UniDac I don't see such option.

Thanks
Thomas

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 09 Jan 2009 14:11

You should use SpecificOptions. It provides extended settings for each data provider, like this:

Code: Select all

UniQuery1.SpecificOptions.Add('EnableBoolean=False');

Post Reply