Actually an error from Oracle would occur if you tried to save a record with an ununique primary key. This is the error that I'm how to handle with vb code. I want to disallow users from trying to save a record with an ununiqe primary key.