Subject Re: [IBO] Meaning of error message
Author slsolutions2002
Hello Jason:

I am unsure what you mean. I have changed nothing. The menu also
calls 40 or so other forms that open queries and they al work fine.
Checking further I fine that the problem occurs when I prepare and
unprepare the query. In my formshow:

With MyQuery Do
Begin
If not prepared then prepare;
Open;
End;

In my formclose:
With MyQuery Do
Begin
Close;
Unprepare;
End;

I I simply leave out the unprepare in the close all works fine, but
obviously thewre is a problem.

Come to think of it I did upgrade from Interbase6 to Firebird .094
about 1 week ago but like I said, all other programs work fine.

Can you explain further ?

Thanks




--- In IBObjects@y..., "Jason Wharton" <jwharton@i...> wrote:
> You have the wrong versions of GDS32.dll on your client.
>
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>
>
> ----- Original Message -----
> From: "slsolutions2002" <strtline@a...>
> To: <IBObjects@y...>
> Sent: Friday, March 01, 2002 12:16 PM
> Subject: [IBO] Meaning of error message
>
>
> > Hello:
> >
> > I have an application with form with a menu that runs a form with
a
> > TIB_Query. When I run the application click the menu the form
with
> > the TIB_Query shows and all work fine, the first time the form is
> > shown. However, if I exit the form then reclick the menu button
> > again I get an error:
> >
> > ISC ErrorCode: 335544485
> > ISC Error Message : Invalid Statement Handle
> >
> > The error occurs when the query is opened. If I exit the
application
> > and rerun it, the same occurs.
> >
> > Can anyone tell me what this message means ?
> >
> > Thanks