Code fragment:<br>
<br>
Public dbDynamic As Database<br>
Public recCustomers As Recordset<br>
<br>
Set dbDynamic = OpenDatabase("c:\db1.mdb")<br>
Set recCustomers = dbDynamic.OpenRecordset("Tcustomer")<br>
<br>
<br>
Giday,<br>
I'm programming in VB6 and had Office97 installed which the above code worked fine. However, after installing Office 2000, which meant upgrading the Access Database file, I get the following error message when it executes the 'Set recCustomer' line:<br>
<br>
"Unrecognized database format 'c:\db1.mdb'"<br>
<br>
Does anyone know why this error occurs and how I can get around it?<br>
<br>
Public dbDynamic As Database<br>
Public recCustomers As Recordset<br>
<br>
Set dbDynamic = OpenDatabase("c:\db1.mdb")<br>
Set recCustomers = dbDynamic.OpenRecordset("Tcustomer")<br>
<br>
<br>
Giday,<br>
I'm programming in VB6 and had Office97 installed which the above code worked fine. However, after installing Office 2000, which meant upgrading the Access Database file, I get the following error message when it executes the 'Set recCustomer' line:<br>
<br>
"Unrecognized database format 'c:\db1.mdb'"<br>
<br>
Does anyone know why this error occurs and how I can get around it?<br>