Do not accept repeated records- VB6 validation
Asked By
0 points
N/A
Posted on - 04/05/2012
I am working on my visual basic6.0 project. What will be the code that I am going to use If I don't want any records to be repeated. For example, I add a user by clicking an add command button and I enter a user that is already existing in my access database. I want the program to don't accept my input and return an error message stating "Records already exist".
Can anyone give me a sample code in visual basic 6.0 on how to do this?
Thanks