L
laura
I am receiving Error 3251 - "Operation is not supported for this type of
object"
Dim rs As DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb()
Set rs = db.OpenRecordset("tblEvents")
rs.Index = "EventNo" ' the name of the field which is indexed. This
is where the problem is - I get the above Error Message 3251.
I think that when I originally created the database on Windows 98, Office
2000 it worked. Now I am using Windows XP I get the error message.
I have made sure that Track Name AutoCorrect Info is NOT checked.
I am not sure what 'References' I should have, but this is what I have
selected (checked):-
Visual Basic for Applications
MS Access 9.0 Object Library
OLE Automation
MS DAO 3.6 Object Library
MS Visual Basic for Applications Extensibility 5.3
Any help appreciated as I'm stumped.
Laura TD
object"
Dim rs As DAO.Recordset
Dim db As DAO.Database
Set db = CurrentDb()
Set rs = db.OpenRecordset("tblEvents")
rs.Index = "EventNo" ' the name of the field which is indexed. This
is where the problem is - I get the above Error Message 3251.
I think that when I originally created the database on Windows 98, Office
2000 it worked. Now I am using Windows XP I get the error message.
I have made sure that Track Name AutoCorrect Info is NOT checked.
I am not sure what 'References' I should have, but this is what I have
selected (checked):-
Visual Basic for Applications
MS Access 9.0 Object Library
OLE Automation
MS DAO 3.6 Object Library
MS Visual Basic for Applications Extensibility 5.3
Any help appreciated as I'm stumped.
Laura TD