Is it possible to create and .Index for more than one column?
Code:
With oRS
.Index = Array("Column1", "Column2", "Column3")
.Seek "=", Array("Value1", "Value2", "value3")
If .NoMatch Then
.AddNew
.Fields("Column1") = "Value1"
.Fields("Column2") = "Value2"
.Fields("Column3") = "Value3"
.Fields("Column4") = "Value4"
.Update
Else
.Edit
.Fields("Column4") = "Value4"
.Update
End If
End With