Click or drag to resize

SQLSelect.CursorType Property

X#
A constant, which describes the cursor type used by the SQL statement:

Namespace:  VO
Assembly:  VOSQLClasses (in VOSQLClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY CursorType AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
A constant, which describes the cursor type used by the SQL statement:
Remarks
One of the following constants, which describes the cursor type used by the SQL statement:
ConstantDescription
SQL_CURSOR_FORWARD_ONLYThe cursor only scrolls forward
SQL_CURSOR_KEYSET_DRIVENThe driver saves and uses the keys for the number of rows specified in the SQL_ATTR_KEYSET_SIZE statement attribute
SQL_CURSOR_DYNAMICThe driver saves and uses only the keys for the rows in the rowset.
SQL_CURSOR_STATICThe data in the result set is static
The default value for this property can be set through the function SqlSetStmtCursorType()
Tip Tip
Please consult the documentation for the ODBC driver you are using to see the effects of this setting on the performance of your application.
See Also