Click or drag to resize

CGUIiImportChemDatabaseADO Method (String, String, String, Int32)

Improved template creation for importing geochem database (ADO).

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iImportChemDatabaseADO(
	string connect,
	string temp,
	ref string table,
	int type
)

public static int iImportChemDatabaseADO(
	string connect,
	string temp,
	ref string table,
	int type
)

Parameters

connect
Type: SystemString
External database connection string (Blank for OLEDB Wizard)
temp
Type: SystemString
Template to make
table
Type: SystemString
Name of table
type
Type: SystemInt32
<define>IMPCH_TYPE</define>

Return Value

Type: Int32
0 - OK -1 - Cancel
Remarks
This is an improved version of ImportChemDatabase_GUI using the new ADO technology, as opposed to DAO. Use in conjuction with ImportADO_DU. See also ImportDatabaseADO_GUI.
See Also