|
<< Click to Display Table of Contents >> Delphi Examples: DbiSetDirectory |
![]() ![]()
|
Set the current working directory.
The function fDbiSetDirectory for the database specified in the hdb parameter to the directory in the Dir parameter. This example uses the following input:
fDbiSetDirectory(Database1.Handle, 'C:\Tables');
The procedure is:
procedure fDbiSetDirectory(hdb: hDbiDb; Dir: String);
begin
Check(DbiSetDirectory(hdb, PChar(Dir)));
end;