TadoQuery Disconnecting from TADOConnection [Edit]

Giganews Newsgroups
Subject:TadoQuery Disconnecting from TADOConnection [Edit]
Posted by: Debbie Erickson
Date:Thu, 30 Jul 2009

Hello!  I have several hundred TADOQuery components sprinkled in my legacy system.  Most of the queries are filled at runtime by accessing the ADD method of the sql property.  As far as I know, the old queries work.

I recently added a few new TADOQueries myself in some maintenance code.  If I fill the query string at design time, they run fine.  But if I want a dynamic query and use the ADD method of the SQL property, it triggers the disconnect/reconnect events in my TADOConnection.  I've tried comparing the properties of queries that I know are working and everything matches.

I have D7.0.  No service packs have been installed.

Thanks!
Debbie Erickson
FasTrakSoftWorks, Inc.

Edited by: Debbie Erickson on Jul 30, 2009 3:05 PM

Replies