RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DRIntf.FindDatabaseID Function

Returns the ID of a specified database.

Pascal
function FindDatabaseID(const Database: string): TDatabaseID;
C++
TDatabaseID FindDatabaseID(const AnsiString Database);

DRIntf

Call FindDatabaseID to get the database ID for the database specified by the Database parameter. This ID can be used for locating the database's tables in the Data Dictionary. 

If the named database is not in the Data Dictionary, FindDatabaseID returns a null ID. 

 

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