Partilhar via


AllowSimultaneousFetch Property

Specifies whether to permit simultaneous fetching for Open Database Connectivity (ODBC) cursors when using a shared connection. Read/write at design time and run time.

Note

AllowSimultaneousFetch applies only when the CursorAdapter DataSourceType property is set to "ODBC". If the associated connection is not shared, setting AllowSimultaneousFetch has no effect.

CursorAdapter.AllowSimultaneousFetch [= lValue]

Return Value

  • lValue
    Logical data type. The following table specifies the values for lValue.

    lValue Description

    False (.F.)

    When using a shared connection, similarly configured cursors that share the connection are not permitted to fetch rows simultaneously. (Default)

    True (.T.)

    When using a shared connection, similarly configured cursors that share the connection are permitted to fetch rows simultaneously.

Remarks

Applies To: CursorAdapter Class

See Also

Reference

CursorAdapter Object Properties, Methods, and Events
DataSourceType Property

Other Resources

Properties (Visual FoxPro)