Subject Re: IBOQuery and boolean fields make access violation
Author luis.kerschbaumer
Thanks a lot
Luis

--- In IBObjects@yahoogroups.com, "Jason Wharton" <supportlist@...> wrote:
>
> It appears if you change the PAnsiString() typecasts to PAnsiChar that it
> works just as it should in Delphi versions prior to D2009.
>
> Jason
>
>
> ----- Original Message -----
> From: "luis.kerschbaumer" <luis.kerschbaumer@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Friday, November 20, 2009 1:18 AM
> Subject: [IBO] IBOQuery and boolean fields make access violation
>
>
> > Hi,
> > we use IBO 4.9.7 with Delphi 6 on FB 1.03/2.13
> >
> > With TIBOQuery, TdataSource and the standard DBgrid from Delphi i recieve
> > an access violation if i display a boolean field (InternalGetFieldData in
> > GetFieldData from IboDataSet create the access violation).
> >
> > SQL statement: select BOOLFIELD from XTABLE (the column BOOLFIELD is
> > defined as CHAR(1))
> > In the columnattributes from IBOQuery the Column BOOLFIELD are defined as
> > boolean field (T=True, F=False).
> >
> > All other columns works correctly with TDataSource.
> >
> > Who can help me?
> >
> > thanks a lot
> > Luis
> >
> >
> >
> >
> > ------------------------------------
> >
> > ___________________________________________________________________________
> > IB Objects - direct, complete, custom connectivity to Firebird or
> > InterBase
> > without the need for BDE, ODBC or any other layer.
> > ___________________________________________________________________________
> > http://www.ibobjects.com - your IBO community resource for Tech Info
> > papers,
> > keyword-searchable FAQ, community code contributions and more !
> > Yahoo! Groups Links
> >
> >
> >
>