Before I will ask my question, I would like to apologize to the administrator for what mistake I had done on giving negative comment, I am very sorry for violating the rules due to mistake answer on the comment. But anyway I will proceed to my question regarding this topic. What is the best way of using the search record in access? I am using the combo box control to search certain code but my problem is, if the code which I am searching is not on the table when I press enter it will give me another code. What I want is I want the message appear if the code is not on the record. Thanks in advance.