RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSession.GetAliasDriverName Method

Provides the name of the database driver used by a specified Borland Database Engine (BDE) alias associated with the session.

Pascal
function GetAliasDriverName(const AliasName: string): string;
C++
__fastcall AnsiString GetAliasDriverName(const AnsiString AliasName);

Call GetAliasDriverName to determine the BDE database driver used by a specific alias. AliasName is the name of the alias for which to return driver information. 

For aliases corresponding to Paradox and dBASE tables, GetAliasDriverName returns "STANDARD". For ASCII tables the return value is "ASCIIDRV". For SQL databases, the driver name depends on the database server. 

 

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