Im not very good writing vb code, i know this isnt very difficult but i cant figure it out. I want to be able to stop customers from entering in thier name if it already exist in the database. i know it would be a comparefunction but not sure how to do this. please help.