am making a library program that add, delete and shows record. i am done with it. but now i have a logical problem. the id i input for a book it can be taken by other books. i need to restrict ID for one book which cannot be used by other book.
like if one book have id 0001, when another book which want to input the same id ( 0001) it should restrict it to take it.