Click or drag to resize
CDUTableLookI2 Method
Create a new channel using constant integer primary reference and a secondary reference table.

Available since Oasis montaj version: 5.0.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Fails if table does not contain requested fields. The nominal data sample spacing for the CLOSE options is calculated by finding the fiducial increment the - primary index channel for Lookup1C_DU; - secondary index channel for Lookup2C_DU, LookupIValC_DU and LookupRValC_DU
Syntax
public static void TableLookI2(
	CDB oDB1,
	int i2,
	int i3,
	int i4,
	int i5,
	string str6,
	string str7,
	string str8,
	int i9,
	double d10,
	CTB oTB11
)

Parameters

oDB1
Type: GeoEngine.Core.GXNetCDB
Database
i2
Type: SystemInt32
Line Handle
i3
Type: SystemInt32
Lookup primary reference value
i4
Type: SystemInt32
Lookup secondary reference channel [DB_LOCK_READONLY]
i5
Type: SystemInt32
Output Channel Token [DB_LOCK_READWRITE]
str6
Type: SystemString
Primary reference field name in table
str7
Type: SystemString
Secondary reference field name in table
str8
Type: SystemString
Lookup result field name in table
i9
Type: SystemInt32
See DU_LOOKUPConstant
d10
Type: SystemDouble
CLOSE lookup distance. If 0.0, distance calculated from secondary reference channel.
oTB11
Type: GeoEngine.Core.GXNetCTB
Table Object
See Also