A
Alan B. Densky
I'm trying to create a private dbengine in A 97 without success. I've tried
two different methods but get the same error with both. Can someone please
set me straight?
Try # 1
Dim db As Database
Dim rst As Recordset
Dim dbe As New DBEngine
Set db = dbe(0)(0) 'Error 3265 Item not found in this collection
'*******************************************************
Try # 2
Dim db As Database
Dim rst As Recordset
Dim dbe As DBEngine
Set dbe = CreateObject("DAO.DBEngine.35")
Set db = dbe(0)(0) 'Error 3265 Item not found in this collection
two different methods but get the same error with both. Can someone please
set me straight?
Try # 1
Dim db As Database
Dim rst As Recordset
Dim dbe As New DBEngine
Set db = dbe(0)(0) 'Error 3265 Item not found in this collection
'*******************************************************
Try # 2
Dim db As Database
Dim rst As Recordset
Dim dbe As DBEngine
Set dbe = CreateObject("DAO.DBEngine.35")
Set db = dbe(0)(0) 'Error 3265 Item not found in this collection