try this
Select count(*) from TimeLog where EM_Name = '.................
If it returns 1 display the message else proceed further and save the data.
You need to ensure that EM_Name is the primary key of the table
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434