Why not simply use the WHERE clause along with the SQL statement to find the record. You can also use COUNT to find if the record exists and then display the message accordingly. Using COUNT will be really fast.
Reputation Points: 665
Solved Threads: 427
Posting Genius
Offline 6,406 posts
since Feb 2007