 | CDUTableLook2 Method |
Create a new channel using a double reference table.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void TableLook2(
CDB db,
int line,
int r1_ch,
int r2_ch,
int o_ch,
string r1_field,
string r2_field,
string l_field,
int mode,
double close,
CTB tb
)
public static void TableLook2(
CDB db,
int line,
int r1_ch,
int r2_ch,
int o_ch,
string r1_field,
string r2_field,
string l_field,
int mode,
double close,
CTB tb
)
Public Shared Sub TableLook2 (
db As CDB,
line As Integer,
r1_ch As Integer,
r2_ch As Integer,
o_ch As Integer,
r1_field As String,
r2_field As String,
l_field As String,
mode As Integer,
close As Double,
tb As CTB
)
Public Shared Sub TableLook2 (
db As CDB,
line As Integer,
r1_ch As Integer,
r2_ch As Integer,
o_ch As Integer,
r1_field As String,
r2_field As String,
l_field As String,
mode As Integer,
close As Double,
tb As CTB
)
public:
static void TableLook2(
CDB^ db,
int line,
int r1_ch,
int r2_ch,
int o_ch,
String^ r1_field,
String^ r2_field,
String^ l_field,
int mode,
double close,
CTB^ tb
)
public:
static void TableLook2(
CDB^ db,
int line,
int r1_ch,
int r2_ch,
int o_ch,
String^ r1_field,
String^ r2_field,
String^ l_field,
int mode,
double close,
CTB^ tb
)
static member TableLook2 :
db : CDB *
line : int *
r1_ch : int *
r2_ch : int *
o_ch : int *
r1_field : string *
r2_field : string *
l_field : string *
mode : int *
close : float *
tb : CTB -> unit
static member TableLook2 :
db : CDB *
line : int *
r1_ch : int *
r2_ch : int *
o_ch : int *
r1_field : string *
r2_field : string *
l_field : string *
mode : int *
close : float *
tb : CTB -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - line
- Type: SystemInt32
Line Handle - r1_ch
- Type: SystemInt32
Primary reference channel [<define>DB_LOCK_READONLY</define>] - r2_ch
- Type: SystemInt32
Secondary reference channel [<define>DB_LOCK_READONLY</define>] - o_ch
- Type: SystemInt32
Output channel [<define>DB_LOCK_READWRITE</define>] - r1_field
- Type: SystemString
Primary reference field name in table - r2_field
- Type: SystemString
Secondary reference field name in table - l_field
- Type: SystemString
Lookup result field name in table - mode
- Type: SystemInt32
<define>DU_LOOKUP</define> - close
- Type: SystemDouble
CLOSE lookup distance. If 0.0, distance is calculated from secondary reference channel. - tb
- Type: GeoEngine.Core.GXNetCTB
Table Object
Remarks
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
See Also