You can simply create a column named say 'BorrowCount' and let the initial value be zero(0). Once there's a new entry from the user, this value can be incremented by one and once it gets to three, you can provide your error message. Note that this would require your application querying the database to get the latest number of times the user has borrowed books on any new entry.
Netcode
Veteran Poster
1,021 posts since Jun 2009
Reputation Points: 43
Solved Threads: 67