Subject Re: [IBO] "Statement has not been prepared"
Author Tickerboo Support
> >PS I'm doing something daft I just know
>
> Hi David,
> could the daft thing your doing be that tn and qry are independent of
> eachother? I.e. that the IB_Transaction property of qry does not point to
tn?

I did check that (10 times), but no, it's dafter than that. (hangs head in
embarrasment)

All my clear up code is in the FormCloseQuery event. A new third-party
component I'm using generates events (which use the Transaction & Query)
after the FormCloseQuery has tidied up (posted/commited and unprepared etc).

My apologies to everyone