C
Chris
Hello,
I am working on a tutorial that will allow a SubRoutine to
open a recordset with the current Database.
It goes as follows
Sub PrintRecords()
Dim dbCurr
Set dbCurr = DBEngine.Workspaces(0).Databases(0)
Dim rsCourses As Recordset
Set rsCourses = dbCurr.OpenRecordset(“Courses”)
End Sub
Every time I run it I get the error that the table does
not exist or is mispelled. Neither is the case I am
confused.
When I run the routine
Sub PrintRecords()
Dim dbCurr
Set dbCurr = DBEngine.Workspaces(0).Databases(0)
Debug.Print dbCurr.Name
End Sub
I get the results
D:\Tutorial\db2.mdb
So I know that it can see the database but not the table.
I have tried all the tables and queries and I keep getting
the same error 3078 message. I am using Access 2000.
Please Help.
Sincerely,
Chris
I am working on a tutorial that will allow a SubRoutine to
open a recordset with the current Database.
It goes as follows
Sub PrintRecords()
Dim dbCurr
Set dbCurr = DBEngine.Workspaces(0).Databases(0)
Dim rsCourses As Recordset
Set rsCourses = dbCurr.OpenRecordset(“Courses”)
End Sub
Every time I run it I get the error that the table does
not exist or is mispelled. Neither is the case I am
confused.
When I run the routine
Sub PrintRecords()
Dim dbCurr
Set dbCurr = DBEngine.Workspaces(0).Databases(0)
Debug.Print dbCurr.Name
End Sub
I get the results
D:\Tutorial\db2.mdb
So I know that it can see the database but not the table.
I have tried all the tables and queries and I keep getting
the same error 3078 message. I am using Access 2000.
Please Help.
Sincerely,
Chris