I have a form based on table with primary key = username (skeddy, fbrown1, etc.) Want to have this primary key validated when user moves off it (to another field in the form) rather than waiting until the record is saved. And would like to have my own error message come up (rather than the system message about duplicate value in index). Sorry, this may be so easy - I'm quite new to Access programming. Thanks in advance.