conflict between save and search adodb

hello ive problem which is every time i click search(by name) n then the next thing i click save, (after save and update my data), the button previous,next,first,last doenst work, the save button function also doesnt work.

but when i click search(the name), n then the next i click the button button previous,next,first,last and it works. n after that, i click save(update my data) it also works.

after i search and click the save button,
it shows:
Run-time error '-2147217887(88040e21)':
the changes you requested to the table were not successful because they would create duplicate values in the index , primary key, or relationship. change the data in the field or fields contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.