dam_isTargetRow
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 9.0
- 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 not. If DAM_TRUE, call dam_addRowToTable. If DAM_FALSE, call dam_freeRow to free the row.
DAM_ERROR is returned if the row handle is invalid or if all the required column values have not been set. If the table has 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(
long hstmt,
long hRow)
Parameters for dam_isTargetRow
| Parameter | Type | Description |
| INPUT | ||
| hstmt | long | The statement handle. |
| hRow | long | 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. |
|