RAD Studio VCL Reference
|
Adds a specified Borland Database Engine (BDE) driver to the session for an SQL database server.
procedure AddDriver(const Name: string; List: TStrings);
__fastcall AddDriver(const AnsiString Name, TStrings List);
Call AddDriver at runtime 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 session's ConfigMode property 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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|