M
millardgroups
Can you help me understand why Acccess 2003 is having trouble opening a
recordset using the following code? I've copied this almost exactly out
of a book and checked its format against other books and the help file.
It seems right, but Access keeps stopping at the database definition,
saying, "User-defined Type Not Defined."
Here's the code:
Dim dbInfo As Database
Dim rstMaster As dao.Recordset
Set dbInfo = CurrentDb()
'Open the recordset
Set rstMaster =
dbInfpenRecordset("tblLeadershipMaster_FanChartData", dbOpenDynaset)
Access doesn't seem to be recognizing any of the DAO stuff.
Can you help?
recordset using the following code? I've copied this almost exactly out
of a book and checked its format against other books and the help file.
It seems right, but Access keeps stopping at the database definition,
saying, "User-defined Type Not Defined."
Here's the code:
Dim dbInfo As Database
Dim rstMaster As dao.Recordset
Set dbInfo = CurrentDb()
'Open the recordset
Set rstMaster =
dbInfpenRecordset("tblLeadershipMaster_FanChartData", dbOpenDynaset)
Access doesn't seem to be recognizing any of the DAO stuff.
Can you help?