Ok, I have a form that is bound to a table called 'Drinks'. This form (named 'Drinks') will allow me to browse through a collection of bartender recipes. I have created a button on this form that will launch another form, wittingly named 'Search', which is unbound. On the 'Drinks' form, it will initially pull a blank record so you can enter a new recipe which is autonumbered by the primary key. You can't browse through any recipes though until you use the search command. On this Search form I have a text box where you can enter in a drink name, three ingredient combo boxes that will allow the user to select an ingredient from a query which builds a list of all distinct ingredients in my table from all 15 ingredient fields, another combo box that allows the user to select of a type of serving glass from a query built to list distinct serving glass types, and a search type indicator that will eventually allow the user to select an 'And' or 'Or' search type. There is a cancel button that will close the Search form if clicked. The problem is the 'Search' button on this form. When I click this button what I would like to happen is for the VBA (which I know NOTHING about) to execute and return values back to the form from the table. For example, if I type in amaretto as a drink name, and then choose amaretto as an ingredient and sours mix as an ingredient and hit the 'And' indicator, it will return all results that have a name LIKE amaretto and has both ingredients in the recipe. If I would hit the 'Or' indicator it would return all results that something LIKE amaretto in the name, contains amaretto as an ingredient, or contains sours mix as an ingredient back to the form for me to browse through.
The question is, how do I make this happen? I have no friggin clue how to use VBA and I could really use some advice on this one. If anyone wants, I can e-mail them screen shots to show them whatever they want to see. ** Edit / Removed **. Thanks everyone!
Best,
Aaron