>At this moment, i would like a message box telling "this value already exists. Try another one."
Ok, you want to take control over the RI. There is a workaround for that but I don't remember. Maybe you can do a UT search. This is why I prefer to handle all the validation from my own engine. Maybe someone else has an answer for you. Good luck.