I am working with Access2000 after many years with 97. And for some stupid reason am struggling with writing a simple piece of code to pull the contents of a table into a recordset so that I can process them. Please, please can someone help me? When trying to execute the OpenRecordset method I get an error: Run-time error '13': Type mismatch. This is driving me crazy. Here is my code:
Sub main()
Dim UDdb As Database
Dim Dset As Recordset
Dim dwgStr As String
Set UDdb = CurrentDb()
Set Dset = UDdb.OpenRecordset("UpdateDrawings"
....
UpdateDrawings is the name of a table in the current database.
Thanks!
Janet
Sub main()
Dim UDdb As Database
Dim Dset As Recordset
Dim dwgStr As String
Set UDdb = CurrentDb()
Set Dset = UDdb.OpenRecordset("UpdateDrawings"
....
UpdateDrawings is the name of a table in the current database.
Thanks!
Janet