Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getFirstInsertRow

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This method gets the first row of data to be used for inserting into your data source.

Related methods:

  • Use the methods dam_getFirstValueSet and dam_getNextValueSet to step through the columns of the insert row.
  • Use the methods dam_getColToSet and dam_getValueToSet to retrieve the corresponding column handle and associated value.
  • Use the method dam_describeCol with the column handle to get the name and number of the target column.

long dam_getFirstInsertRow(long hstmt)

Parameters for dam_getFirstInsertRow

Parameter Type Description
INPUT
hstmt long The statement handle.
RETURN
long The handle to the insert row. 0 is returned if an insert row is not available.
Do not use dam_freeRow with this handle to free the row. The OpenAccess SDK SQL engine automatically frees it.

See also

TitleResults for “How to create a CRG?”Also Available inAlert