Parameter
|
Type
|
Description
|
IN
|
||
hstmt
|
DAM_HSTMT
|
The statement handle.
|
hRow
|
DAM_HROW
|
The row handle.
|
hCol
|
DAM_HCOL
|
The column handle.
|
iXoType
|
int
|
The type of the data. The data can be supplied in a format that corresponds to the column's definition in the schema or in any other format and the OpenAccess SDK SQL engine will perform the required conversion.
|
pColVal
|
void *
|
The pointer to the data; the C type of the data should correspond to the iXoType value. See Table 33.
|
lColValLen
|
long
|
The length of the data:
XO_NULL_DATA - indicates a null value.
For VARCHAR, CHAR and NUMERIC either the length of the string or XO_NTS if the string is null terminated.
For all other data types, the length of the data.
The length value is required so that OpenAccess SDK can validate that the correct data size is passed in for the iXoType.
|
RETURN
|
||
int
|
DAM_SUCCESS - added the value to the row.
DAM_FAILURE - error adding the value.
|