dam_isTargetRow
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method 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, 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 method assumes that all rows provided by the IP satisfy the index conditions and does not perform further validation.
int dam_isTargetRow(
int64 hstmt,
int64 hRow)
Parameters for dam_isTargetRow
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle |
| hRow | int64 | The 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 not all required column values have been set. |