Hi,
From your other message it looks like you are using a combination of
code and the oledb controls. That might be the problem. Here is how to
open an access database with code. Replace northwind.mdb with the path to
you database.
Dim ds As New DataSet
Dim strConn As String
Dim strSQL As String
Dim da, daEmployees As OleDbDataAdapter
Dim conn As OleDbConnection
strConn = "Provider = Microsoft.Jet.OLEDB.4.0;"
strConn &= "Data Source = Northwind.mdb;"
conn = New OleDbConnection(strConn)
da = New OleDbDataAdapter("Select * From Categories", conn)
da.Fill(ds, "Categories")
Ken