Question how to check whether the record already existed in ms-access database

Adam Insyirahnadia

New member
Joined
Feb 6, 2012
Messages
3
Programming Experience
Beginner
when a save button clicked, the username textbox is added to the database otherwise if the username already existed then a message appeared to tell user it is already taken.. any example please..tq
 
You simply query the database. How would you usually get a record from the database by username? That's exactly what you do here. If there is no matching record then you know the new value is not a duplicate.
 

Latest posts

Back
Top