C
cbelius
Using a simple project (mdb) with one table and one form I tested the
performance with this code:
"Option Compare Database
Option Explicit
Private Sub Luk_Click()
Dim i As Long, rst(1000) As DAO.Recordset
For i = 1 To 1000
Set rst(i) = CurrentDb.OpenRecordset( _
"Select * from Patient", dbOpenDynaset)
rst(i).MoveFirst
Debug.Print "No of open objects: " & i
Next i
End Sub"
Result in the immediate window: 252
Then I split the dba into front end and back end, and run the code again
Result in the immediate window: 80
Can someone explain me why the splitting procedure eates 172 id's
Thanks in advance
performance with this code:
"Option Compare Database
Option Explicit
Private Sub Luk_Click()
Dim i As Long, rst(1000) As DAO.Recordset
For i = 1 To 1000
Set rst(i) = CurrentDb.OpenRecordset( _
"Select * from Patient", dbOpenDynaset)
rst(i).MoveFirst
Debug.Print "No of open objects: " & i
Next i
End Sub"
Result in the immediate window: 252
Then I split the dba into front end and back end, and run the code again
Result in the immediate window: 80
Can someone explain me why the splitting procedure eates 172 id's
Thanks in advance