gopi,
How do you have the key field defined in your table? Give details...
It should be Indexed No Duplicates as well as Key.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
"gopi" <(E-Mail Removed)> wrote in message
news:C472B749-2AC4-447F-AF00-(E-Mail Removed)...
> Hi,
> I have a primary key field. but whenever i enter the same details twice in
> that field it doesnt give me an message telling me that i have entered the
> same detail twice, as this field must be unique, instead it closes the form
> and does not save.
>
> Is there anyway i can get the database to prompt me with a message telling
> me that i have allready entered the same detail before?
>
> let me know if any other details is needed.
>
> Thanks in advanced.
>