Bde.DBTables.TSession.ModifyDriver
Delphi
procedure ModifyDriver(Name: string; List: TStrings);
C++
void __fastcall ModifyDriver(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 or changes parameters for a Borland Database Engine (BDE) driver.
Call ModifyDriver to change the parameters for a specified BDE database driver. Name is the name of the driver to modify. List is a string list object previously populated with parameter values to add or change. An application must create and maintain List.
Populate List with parameter strings before calling ModifyDriver. List needs only to contain the parameters to change. If ModifyDriver passes a parameter for which a value already exists, the new parameter replaces the existing one. New parameters that are not yet defined for the driver are added to the existing parameters. If List is empty, ModifyDriver does not change any existing parameters.
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.