<< Click to Display Table of Contents >> Navigation: Apollo VCL Components > Apollo VCL Component Reference > TApolloQuery > TApolloQuery Methods > Close |
Declaration
Procedure Close;
Description
Closes the active query and frees all allocated resources. Equivelant to setting the Active property to False.
Delphi Example
ApolloQuery1.SQL.Text := 'SELECT First, Last, Age FROM Test WHERE (Age > 50)';
ApolloQuery1.Open;
// . . . do something . . .
ApolloQuery1.Close;
C++Builder Example
ApolloQuery1->SQL->Text = "SELECT First, Last, Age FROM Test WHERE (Age > 50)";
ApolloQuery1->Open();
// . . . do something . . .
ApolloQuery1->Close();
See Also
OpenOpen, ActiveTApolloQuery_Active, ExecSQLExecSQL