Hi,
Can anyone out there help me?
I am using vb5 on a Win95c machine which has Office 2000 beta installed.
When I try to use the following code:
Private Sub cmdProdbyStore_Click()
Dim dbsFox As Database
Dim rstAccounts As Recordset
' Open an external FoxPro database.
Set dbsFox = OpenDatabase("c:\vision", False, False, _
"Foxpro 2.6;")
' Create a Recordset object from
' the Accounts table.
Set rstAccounts = dbsFox.OpenRecordset("trans")
End Sub
I get a runtime error 13 "type mismatch".
I am tearing my hair out over this one.
Thanks
Phil