hello all 
i have a form that contain a field that the user will fill it with an id then he will click a bottun
i want to do folowing on the click event:
check that the id enterd by the user is already exists or no
1- that means i want to make a search for the given id or if you have another way you can tell me
2- if its not exist
a msg box will displayed
3-if exists the user can edit the related recored
i already know how to make 2 & 3 but i want your help in the 1st step
thanx in advance
i have a form that contain a field that the user will fill it with an id then he will click a bottun
i want to do folowing on the click event:
check that the id enterd by the user is already exists or no
1- that means i want to make a search for the given id or if you have another way you can tell me
2- if its not exist
a msg box will displayed
3-if exists the user can edit the related recored
i already know how to make 2 & 3 but i want your help in the 1st step
thanx in advance