db_result_t db_delete ( db_cursor_t  hcursor,
db_flags_t  flags 
)

Delete the current row in a cursor.

Parameters:
hcursor Cursor handle.
flags Post positioning flag
Returns:
On failure, one of the following error codes is set:
  • DB_EINVAL Cursor handle is invalid.
  • DB_ESTATE The cursor does not support delete operations.

See also:
db_fetch, db_insert, db_update,
get_db_error, clear_db_error, Error Handling


Copyright © 2005-2008 ITTIA®. All rights reserved.