I'm trying to open a form that brings up all the records with (example: "1") as an entry. I have a search form where the user selects which field they want to search in, and then types or selects what they want to search for. When I try this, it brings up all the records with a 1 in it (i.e. 1, 10, 18). The column(SearchIn) and the data(SearchFor) are variables. Here's what I've got:
docmd.OpenForm "frmSearchResults", acNormal,, "["+SearchIn+"]" = SearchFor



