Subject RE: [IBO] Saving and loading queries FieldIndex and FieldDisplayWidth values
Author Jason Wharton
This schema cache error is a known bug in one of the recent versions.

What version are you using?

Thanks,
Jason

> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> Behalf Of Andreas Pohl
> Sent: Tuesday, July 31, 2007 2:48 AM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Saving and loading queries FieldIndex and
> FieldDisplayWidth values
>
>
> Hallo Elmar,
>
> > I took a bigger project and changed a TIB_Query to my TIBGridQuery.
> > Here in the doBeforeClose i get an error 335544374 "Internal Schema
> > Cache Error" in IB_components line 14518.
>
> maybe there is sth. changed in newer IBO versions. I still
> work with IBO
> 4.3.Aa
>
> Here is my declaration:
>
> procedure TIBP_Query.DoBeforeOpen;
> begin
> inherited DoBeforeOpen;
> if IB_Connection is TIBP_Connection then
> with TIBP_Connection(IB_Connection) do
> if Assigned(FBeforeIBPQueryOpen) and not FDisableProfiles then
> FBeforeIBPQueryOpen(self);
> end;
>
> procedure TIBP_Query.DoBeforeClose;
> begin
> inherited DoBeforeClose;
> if IB_Connection is TIBP_Connection then
> with TIBP_Connection(IB_Connection) do
> if Assigned(FBeforeIBPQueryClose) and not FDisableProfiles then
> FBeforeIBPQueryClose(self);
> end;
>
> HTH.
>
> --
> Andreas