Searching for a match

Searching for a match

Need to help on how to search first if there is an 
1. Search existing Student_ID 
2. alert the user
3. stop the data entry

Newbie to this.


Thanks