With all due respect to kb244, I must take exception to his answer. Even though MS claims that ForwardOnly is the fastest cursor type, I have found that this is NOT always the case. Unfortunately, the only way to find out which is really the fastest access method in any particular situation is...
Thanks for your input, mohmehran, but as you can see in the rs.open statement, it is opened as Static. And I didn't specify the LockType because adLockReadOnly is the default.
As for the grid I'm using, it's the new DataGrid control, which definately accepts ADO data sources.
I would expect...
OK, I was able to get the time down to 16 seconds with the following code:
Option Explicit
Private cnWIP As ADODB.Connection
Private rsWIP As ADODB.Recordset
Private Sub Form_Load()
Dim sConnStr As String
Dim sSQL As String
Set cnWIP = New ADODB.Connection
Set rsWIP = New...
I am considering upgrading my VB6 apps to use ADO and Jet4.0. I have always used the generic data control up till now. So I made an Access 2000 version of one of my (replicated) databases and tried several methods of accessing the table to be diplayed in a DataGrid. (31,000 records, 26 fields)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.