Click or drag to resize

CDUImportDAO Method

Import an external database table into a group using DAO.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void ImportDAO(
	CDB db,
	string data,
	string type,
	string table,
	string templ,
	string line
)

public static void ImportDAO(
	CDB db,
	string data,
	string type,
	string table,
	string templ,
	string line
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
Database
data
Type: SystemString
Import database file name (overrides template value)
type
Type: SystemString
Import data file type (overrides template value)
table
Type: SystemString
Imported table in database file (overrides template value)
templ
Type: SystemString
Import template name
line
Type: SystemString
Oasis Montaj line name to create (overrides template value)
Remarks
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.
See Also