RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQuery.Destroy Destructor

Destroys the instance of a query.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TQuery();

Do not call Destroy directly. Instead, call Free, which checks that the TQuery is not nil before calling Destroy.  

Destroy disconnects from the server, frees the SQL statement list, the parameter list, and the data link and SQL binary storage area, and then calls its inherited destructor. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!