boolean fields in Firebird

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
saidus
Posts: 78
Joined: Wed 26 Oct 2005 09:54
Location: Algeria

boolean fields in Firebird

Post by saidus » Sun 22 Feb 2009 07:21

Hello all ,
I heve a little probleme with boolean fields in firebird .. usually i use a this declaration

Code: Select all

  FieldName   SmallInt  Check Value in(0,1);
in delphi in field editor it look like an smallinteger ... and all works well ..so good .
but when I incapsulate the form that containe the the TIBCQuery in package ... here is a probleme .. the value for this field is not saved when i post the data to DB .. in other words when I create a new record all fields word but the boolean ones don't (there value is unchanged )
(this happens only if I incapsulate the form with Query in Package)
Can you help me about this

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 24 Feb 2009 08:59

Please send to ibdac*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.

Post Reply