General information
Category:
Database DAO/RDO/ODBC/ADO
It may be that the parameters selected in the Open method are not compatible with the cursorlocation (adUseServer by default) type of the connection. Also anytime you have a read-only server-side cursor the RecordCount property is not supported and will return -1.
Try setting the CursorLocation property of the connection object to adUseClient and remove the extra parameters in the Open method (adOpenStatic, adLockReadOnly).
Hope this helps,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only