Hey, sorry about the late reply. The solution was actually their was an autocorrector, which would only work if you put in an 'i' and it would automatically capitalise it. When it did that, i think it threw off the object focus in the code and produced that error. Once the auto corrector is switched off, this error ceases to happen.
I have another query related to this. Now this search is brilliant for displaying records, however is there anyway to incorporate a search facility onto a continuous form?
Heres what I'm trying to do:
I have a Library Catalogue form, which is linked to tblLibCat. Now the header of the form has a txtbox (name txtGoto), a combo box (name: cmbGoto) and a button (name: btnSearch). The detail part of the form is the continuous form which has book id, book title, author, date published, publication type and quantity.
Now, what i wanted to do and (Im struggling with this), is for a user to type in a search string in txtGoto, choose which column to search in from the combo box (which has book id, book title, etc, and also ALL, to enable user to search the entire table). When the user clicks on btnSearch, I would like the form to display all the records the user has searched for.
Thanks in advance for all the help,
P.S: Also, please note, I'm a "she" not a "he"
