Navigation:  Functions > Enum Functions >

DaoCursorDriverEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

Returns a 2-dimensional array with all the values of the CursorDriver  Enum.

 

Description

Every row in this array has 2 values:

The numeric value of the Enum value
A text representation of this value

 

This array can be used to validate values, and to print a ,meaningful description of the values during debugging

You can pass this array tro the DaoEnum2Str() function to convert the value of an Enum to a string

 

ConstantDescription
dbUseDefaultCursor(Default) Uses server-side cursors if the server supports them; otherwise use the ODBC Cursor Library.        
dbUseODBCCursorAlways uses the ODBC Cursor Library. This option provides better performance for small result sets, but degrades quickly for larger result sets.        
dbUseServerCursorAlways uses server-side cursors. For most large operations this option provides better performance, but might cause more network traffic.        
dbUseClientBatchCursorAlways uses the client batch cursor library. This option is required for batch updates.        
dbUseNoCursorOpens all cursors (that is, Recordset objects) as forward-only type, read-only, with a rowset size of 1. Also known as "cursorless queries."        

 

Returns

Array

 

See Also

DaoEnum2Str()

 

See Also

DaoWorkspace:DefaultCursorDriver