Subject | Re: [IBO] IBOQuery and boolean fields make access violation |
---|---|
Author | Jason Wharton |
Post date | 2009-12-07T05:42:37Z |
> 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.
Kind regards,
Jason Wharton
> ----- 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