Function CSPODBCRecordset::SetCursorType()

Description:
Sets the cursor type.

Prototype:
bool SetCursorType(long lCurType);

Arguments:
  • long lCurType [IN]
    The cursor type.



Return value:
If successful, it returns true. Otherwise, it returns false.

Remarks:
The supported values are:

CSPODBCRecordset::CURSOR_DYNAMIC for dynamic cursor.
CSPODBCRecordset::CONCUR_STATIC for static cursor.
CSPODBCRecordset::CONCUR_KEYSET_DRIVE for a keyset driven cursor.
CSPODBCRecordset::CONCUR_FORWARD_ONLY for a forward only ( not scrollable ) cursor.

See also:
member function SetConcurrency()
CSPODBCRecordset | ODBC support classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd