Hi Can you please help, I am new to this so please be gentle!
I have written the following code using VB6 and Access2000 and I recieve a Run-Time error '3343' unrecognized format'S:\RdiIn tranet\RDiIntra net.mdb' , when running the code.
[CODE=vb]Public rstSuppliers As DAO.Recordset
Public dbSuppliers As DAO.Database
Private Sub Form_Load()
' *************** *************** ** RDi Suppliers *************** *************** ***
Set dbSuppliers = OpenDatabase("S :\RdiIntranet\R diIntranet.mdb" )
Set rstSuppliers = dbSuppliers.Ope nRecordset("Sel ect * From Suppliers order by ACCOUNT_REF")
rstSuppliers.Mo veFirst
End Sub[/CODE]
I think it's because i am using Access 2000, can you please help.
Thanks
Steve
I have written the following code using VB6 and Access2000 and I recieve a Run-Time error '3343' unrecognized format'S:\RdiIn tranet\RDiIntra net.mdb' , when running the code.
[CODE=vb]Public rstSuppliers As DAO.Recordset
Public dbSuppliers As DAO.Database
Private Sub Form_Load()
' *************** *************** ** RDi Suppliers *************** *************** ***
Set dbSuppliers = OpenDatabase("S :\RdiIntranet\R diIntranet.mdb" )
Set rstSuppliers = dbSuppliers.Ope nRecordset("Sel ect * From Suppliers order by ACCOUNT_REF")
rstSuppliers.Mo veFirst
End Sub[/CODE]
I think it's because i am using Access 2000, can you please help.
Thanks
Steve
Comment