|Subject||Re: [IBO] IBOQuery and boolean fields make access violation|
> It appears if you change the PAnsiString() typecasts to PAnsiChar that itThis is true for all versions of Delphi/CPPB.
> works just as it should in Delphi versions prior to D2009.
Thanks for bringing this to my attention.
> ----- 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
>> 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