Unprepare an TADOQuery?
- From: Daniel Voelkel <daniel.voelkel.ng@xxxxxxx>
- Date: Mon, 26 Sep 2005 09:51:33 +0200
Hi,
is there a way to unprepare a TAdoQuery? I need this to do the following:
- create and fill a temp table
- execSQL a Query which uses the temp table
- use the data in further queries
- drop the temp table
This worked fine with BDE and it works for the first "run". When I rerun
this procedure, then I get an error like "table modified, dropped or
renamed". When I use an other TADOQuery with the same SQL it works fine for
one more time. So I guess that the Query gets prepared and stays prepared
with the ID of the "old" Temptable. On the next ExecSQL I get the described
error. I use D7E, D2005E and Informix CSDK 2.90 TC3.
Any workaround wold help me too.
Thanks in advance,
Daniel
.
- Follow-Ups:
- Re: Unprepare an TADOQuery?
- From: Guillem
- Re: Unprepare an TADOQuery?
- From: Daniel Voelkel
- Re: Unprepare an TADOQuery?
- Prev by Date: Re: ADO failing on XP - untangling MDAC and Jet DLLs
- Next by Date: Re: Unprepare an TADOQuery?
- Previous by thread: 'ADOQuery4' Command Text does not return a result set
- Next by thread: Re: Unprepare an TADOQuery?
- Index(es):
Relevant Pages
|