int db_is_prepared ( db_cursor_t  hcursor  ) 

Checks the SQL cursor status.

Parameters:
hcursor Cursor handle.
Returns:
  • >0 if cursor is prepared for execution.
  • =0 Cursor is not prepared.
  • <0 Error is encountered during execution.

On failure, one of the following error codes is set:

See also:
db_close_cursor,
db_get_error_message, get_db_error, clear_db_error, Error Handling


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