I am trying to use recordset with an index....
I receive an error message run time error 3800 that
"Task_Received" is not an index in this table.
I have the field "Task_Received" which is a date/time field set as the primary key, indexed no dupes in the table def.
I don't understand why I get this error.
----------------------------------------------------
Set db = CurrentDb
Set rst = db.OpenRecordset(Name:="Task_Information", _ Type:=dbOpenTable)
rst.Index = "Task_Received
I receive an error message run time error 3800 that
"Task_Received" is not an index in this table.
I have the field "Task_Received" which is a date/time field set as the primary key, indexed no dupes in the table def.
I don't understand why I get this error.
----------------------------------------------------
Set db = CurrentDb
Set rst = db.OpenRecordset(Name:="Task_Information", _ Type:=dbOpenTable)
rst.Index = "Task_Received