Subject | Re: [IBO] Meaning of error message |
---|---|
Author | Jason Wharton |
Post date | 2002-03-02T20:01:32Z |
> In my applications TIB_DATASOURCE.ONSTATECHANGED event I have theWhen a dataset is Unprepared it undergoes a change in state. When the
> follows code:
> Var b : Boolean;
> b := MYQuery.FieldByName('Posted').AsBoolean;
FieldByName() method is called it attempts to prepare a statement that isn't
prepared. So, in the process of unpreparing a statement you are attempting
to reprepare it in the notification that it is now unprepared.
I think I would get a little confused at that too.
Sorry to assume otherwise but I have never heard of this error in any other
situation than what I had stated.
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com