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 function gets the first row of data to be used for inserting into your data source.

Related functions:

  • Use the functions dam_getFirstValueSet and dam_getNextValueSet to step through the columns of the insert row.
  • Use the functions dam_getColToSet and dam_getValueToSet to retrieve the corresponding column handle and the associated value.
  • Use the function dam_describeCol with the column handle to retrieve the name and number of the target column.
DAM_HROW dam_getFirstInsertRow(
    DAM_HSTMT hstmt)

Parameters for dam_getFirstInsertRow

Parameter Type Description
IN
hstmt DAM_HSTMT The statement handle.
RETURN
DAM_HROW The handle to the insert row. NULL 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 the row.

See also

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