fingerprint sensor

Hi everyone! i want the fingerprint sensor to delete the id # if he found my id is saved before
without insert the id#? how to modify the program to do that i try it as function but didn't works...