Password: String;
The Password property determines the user password used for connecting to ODBC data source.
Sub Main;
Var
Mb: IMetabase;
ODBC: IOdbcDataset;
s: String;
Begin
Mb:=MetabaseClass.Active;
ODBC:=MB.ItemById("ODBC_SOURCE").Bind As IOdbcDataset;
s:=ODBC.Password;
End Sub Main;
After executing the example, the "s" variable contains the password of ODBC data source user. The identifier of ODBC data source is ODBC_SOURCE.
See also: