Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_copyRow

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

This method makes a copy of the input row and returns its handle. The OpenAccess SDK SQL engine allocates the memory that is required by the row and copies all values from the input row. The IP can replace values for some of the columns in the new row by calling dam_addxxxValToRow. The row should be freed if the dam_isTargetRow call fails.

long dam_copyRow(
     long hstmt, 
     long hRow)

Parameters for dam_copyRow

Parameter Type Description
INPUT
hstmt long The statement handle.
hRow long The row handle for which the values should be copied into the new row.
RETURN
long The handle to a new row. A 0 is returned if a row could not be allocated.

See also

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