Can someone please tell me what does the prosperity CursorLocation of ADO
Connection does?
When I set it to adUseClient and open a recordset with adOpenDynamic, the
prosperity RecordCount does not work and it's impossible to make this
recordset the datasourse of DataGrid.
Is that how it should be?
Does adOpenDynamic forces me to set the CursorLocation to adUseClient ?
Thanks,
Tal.
Constant Description
adUseNone No cursor services are used. (This constant is obsolete and
appears solely for the sake of backward compatibility.)
adUseClient Uses client-side cursors supplied by a local cursor library.
Local cursor engines often will allow many features that driver-supplied
cursors may not, so using this setting may provide an advantage with
respect to features that will be enabled. For backward compatibility,
the synonym adUseClientBatch is also supported.
adUseServer Default. Uses data-provider– or driver-supplied cursors.
These cursors are sometimes very flexible and allow for additional
sensitivity to changes others make to the data source. However, some
features of the Microsoft Client Cursor Provider (such as disassociated
recordsets) cannot be simulated with server-side cursors and these
features will be unavailable with this setting.
Remarks
This property allows you to choose between various cursor libraries
accessible to the provider. Usually, you can choose between using a
client-side cursor library or one that is located on the server.
This property setting affects connections established only after the
property has been set. Changing the CursorLocation property has no
effect on existing connections.
This property is read/write on a Connection or a closed Recordset, and
read-only on an open Recordset.
Connection.Execute cursors will inherit this setting. Recordsets will
automatically inherit this setting from their associated connections.
Remote Data Service Usage When used on a client-side (ADOR) Recordset
or Connection object, the CursorLocation property can only be set to
adUseClient.
Jacek
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I use AdoAnywhere http://www.adoanywhere.com/cnet to show the combinations
of Recordset settings that are valid for my provider. The values you request
are often MODIFIED by the provider without you knowing.
You may be getting forwardOnly connection.
The Only ClientSide Cursor is a Static Cursor
Cheers
Gregory A Jackson MCSD, MCT
Goran
"Tal Greenwurzel" <talg...@infomall.co.il> wrote in message
news:OKPsmIgvBHA.2280@tkmsftngp05...
"Kalicanin Goran" <gor...@spin.si> wrote in message
news:O4AwvShvBHA.2216@tkmsftngp02...
HTH
CF
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Tal Greenwurzel" <talg...@infomall.co.il> wrote in message
news:u2Gr2BivBHA.1648@tkmsftngp04...
And, yes, providers do change settings to accommodate for incompatible
settings requests.
HTH
CF
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sylvie" <sxe...@hotmail.com> wrote in message
news:ubBPzQgvBHA.2612@tkmsftngp03...