contents   index   previous   next



Cursor close()

syntax:

cursor.close()

return:

number - 0 if the call was successful; otherwise, a nonzero status code based on the error message produced by the database. If the method returns a nonzero status code, use the associated Database majorErrorCode and majorErrorMessage methods to interpret the meaning of the error.

 

description:

The close method closes a cursor or result set and releases the memory it uses. If a cursor is not explicitly closed using the close method, it will automatically be closed by the runtime engine when the corresponding client object goes out of scope.

 

see:

#link <sedbc>, Database majorErrorCode(), Database minorErrorCode()

 

example:

err = curs.close()

 


Cursor columnName()