|
Description
|
Returns/sets the name and location of the source of data for the control.
|
Syntax Visual Basic
|
[form.]IXF.DatabaseName[ = Text$]
|
|
Visual C++
|
CString IXF.GetDatabaseName(); void IXF.SetDatabaseName(LPCTSTR lpszNewValue);
|
|
Delphi
|
property DatabaseName: WideString;
|
|
C#
|
string IXF.DatabaseName;
|
|
Remarks
|
This property indicates the location of the database file(s) or the Data Source name for ODBC data sources. If your network system supports it, the value can be a fully qualified network path name such as \\Myserver\Myshare\Database.mdb. The database type is indicated by the file or directory that DatabaseName property points to, as follows: | DatabaseName Points To... | Database Type | | .mdb file | Microsoft Access database | | Directory containing .dbf file(s) | dBASE database | | Directory containing .xls file | Microsoft Excel database | | Directory containing .dbf files(s) | FoxPro database | | Directory containing .wk1, .wk3, .wk4, or .wks file(s) | Lotus Database | | Directory containing .pdx file(s) | Paradox database | | Directory containing text format database files | Text format database |
For ODBC databases, such as SQL Server and Oracle, this property can be left blank if the control's Connect property identifies a data source name (DSN) that identifies an ODBC data source entry in the registry.
|
|
Data Type
|
String
|