Location: String;
The Location property determines a path to the 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.Location;
End Sub Main;
After executing the example, the "s" variable contains the path to the ODBC data source with the ODBC_SOURCE identifier.
See also: