Bde.DBTables.TSession.AddDriver
Delphi
procedure AddDriver(const Name: string; List: TStrings);
C++
void __fastcall AddDriver(const System::UnicodeString Name, System::Classes::TStrings* List);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TSession |
Description
Adds a specified Borland Database Engine (BDE) driver to the session for an SQL database server.
Call AddDriver at run time to create a BDE driver for an SQL database server. AddDriver can also be used to create ODBC driver entries. Name is the unique name to assign to the driver. List is a string list containing parameters for the alias.
A ConfigMode property of the session determines whether a driver is local to the session, or is available to all applications in the BDE persistent store as long as any BDE clients are active. To save a driver permanently, call the SaveConfigFile method before ending the session.