| CDUImportDAO Method |
Import an external database table into a group using DAO.
Available since Oasis montaj version: 5.0.0
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
1. The import template can be in the local directory or the GEOSOFT
directory. The import data file must include the path if it is not
in the local directory.
2. Only the import template must be specified. The database file name,
file type, the database table and Oasis line name are normally
taken from the template file itself, but if these values are provided,
they will override those found in the template.
3. If the line already exists, the data will overwrite the existing data.
Syntax public static void ImportDAO(
CDB oDB1,
string str2,
string str3,
string str4,
string str5,
string str6
)
Public Shared Sub ImportDAO (
oDB1 As CDB,
str2 As String,
str3 As String,
str4 As String,
str5 As String,
str6 As String
)
public:
static void ImportDAO(
CDB^ oDB1,
String^ str2,
String^ str3,
String^ str4,
String^ str5,
String^ str6
)
static member ImportDAO :
oDB1 : CDB *
str2 : string *
str3 : string *
str4 : string *
str5 : string *
str6 : string -> unit
Parameters
- oDB1
- Type: GeoEngine.Core.GXNetCDB
Database - str2
- Type: SystemString
import database file name (overrides template value) - str3
- Type: SystemString
import data file type (overrides template value) - str4
- Type: SystemString
imported table in database file (overrides template value) - str5
- Type: SystemString
import template name - str6
- Type: SystemString
Oasis Montaj line name to create (overrides template value)
See Also