Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_clearError

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

This method allows the IP to clear any existing errors. Use this method in special cases when you want the IP to remove errors that were added by the OpenAccess SDK SQL engine. For example, the OpenAccess SDK SQL engine adds an error message when the TableRowset limit is exceeded before it returns the DAM_ABORT_OPERATION error from dam_addRowToTable.

You can implement the IP to remove existing errors using dam_clearError, and add its own custom message using dam_addError.

void dam_clearError(
     int  hdbc, 
     long hstmt)

Parameters for dam_clearError

Parameter Type Description
INPUT
hdbc int Connection handle.
hstmt long The statement handle.

See also

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