How to create Unique field on a database?

Mert how did you fix this, I am in exactly the same position and going crazy! thanks in advance