Quote Originally Posted by general07z View Post
But i don't know how to apply it on my code.
any help? how to apply it on my code.

regards
In your code, each patient has a first name, last name and an ID. Shouldn't the ID be used to identify each patient then? The only problem I see, is that your ID is a string now, whereas you want it to be a number.