dam_isTargetRow
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This function evaluates the row against the WHERE clause of the active SQL statement. It returns DAM_TRUE if the row matches the WHERE clause and DAM_FALSE if it does not. If DAM_TRUE, then call dam_addRowToTable. If DAM_FALSE is returned, then free the row by calling dam_freeRow.
DAM_ERROR is returned if the row handle is invalid or if all the required column values have not been set. In cases where the table had index(s) defined and the query contains restrictions on index columns, this function assumes that all rows provided by the IP satisfy the index conditions and does not perform further validation.
int dam_isTargetRow(
DAM_HSTMT hstmt,
DAM_HROW hRow)
Parameters for dam_isTargetRow
| Parameter | Type | Description |
| IN | ||
| hstmt | DAM_HSTMT | Statement handle. |
| hRow | DAM_HROW | Row handle. |
| RETURN | ||
| Int | DAM_TRUE - The row matches the restrictions. DAM_FALSE - The row does not match the restrictions. DAM_ERROR - The row handle is invalid or all the required column values have not been set. |