Delphi Examples: DbiCloseDatabase
|
<< Click to Display Table of Contents >> Delphi Examples: DbiCloseDatabase |
![]() ![]()
|
Close the database associated with the valid handle passed in:
Delphi users should call TDatabase.Close rather than directly calling DbiCloseDatabase. This method is defined as:
procedure TDatabase.Close;
The following code closes a TDatabase component called MyDatabase:
MyDatabase.Close;
Close the database associated with the handle:
Most Delphi users should use TDatabase.Close. This example uses the following input:
fDbiCloseDatabase(hDb);
procedure fDbiCloseDatabase(var hTmpDb: hDBIDb);
begin
Check(DbiCloseDatabase(hTmpDb));
end;