RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDatabase.Params Property

Contains database connection parameters for the Borland Database Engine (BDE) alias associated with the database component.

Pascal
property Params: TStrings;
C++
__property TStrings Params;

Use Params to examine or specify database connection parameters, such as path name, server name, schema-caching size, language driver, user name, and password. Actual parameters in Params differ depending on the current BDE alias and driver for the database component. 

Params is a list of string items, each representing a different database connection parameter. If the AliasName property specifies a valid BDE alias, then Params automatically contains the parameters defined for that alias. If, instead of providing an alias, an application uses the DriverName property to provide a local alias, the application must provide Params values directly.

Note: Applications can use Params to override the default settings supplied by a BDE alias.
Tip: At design time double-click a TDatabase component to invoke the Database editor and set Params.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!