+ Start a Discussion

database.SaveResult[] how to update failed records?

i was wondering how would i get a set of failed records and update them to the status failed using the databse.saveresult object, it says if there is  no id then it failed to how can i update the existing field to failed later on?