Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_addResultBufferToTable

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

This method adds multiple rows to the OpenAccess SDK SQL Engine and sets the status in result buffer Status[]. If an error occurs, it sets the error index and returns DAM_FAILURE.

long dam_addResultBufferToTable(
     long         hstmt,
     ResultBuffer pResBuffer)

Parameters for dam_addResultBufferToTable

Parameter Type Description
IN
hstmt long The statement handle.
pResBuffer ResultBuffer The result buffer.
RETURN
int DAM_SUCCESS - Added the row.
DAM_FAILURE - Failed to add the row.
TitleResults for “How to create a CRG?”Also Available inAlert