G
Guest
I am using Access 2003. When I use Dim db as Database, I get a Compile Error
message telling me that the data type is not defined. How do I get around
this problem?
I am trying to open a recordset and I am using the following code:
Dim db As Database
Dim rstTemp As Recordset
Set db = CurrentDb()
Set rstTemp = db.OpenRecordset("WRTEST")
I tried not declaring db and using Set rstTemp =
CurrentDB.OpenRecordset("WRTEST") instead but that does not work....
Any ideas???
message telling me that the data type is not defined. How do I get around
this problem?
I am trying to open a recordset and I am using the following code:
Dim db As Database
Dim rstTemp As Recordset
Set db = CurrentDb()
Set rstTemp = db.OpenRecordset("WRTEST")
I tried not declaring db and using Set rstTemp =
CurrentDB.OpenRecordset("WRTEST") instead but that does not work....
Any ideas???