I have a table that contains all ingredients. I have another table that has the formulas for all our recipes. Some ingredients have sub-ingredients though which aren't listed in the formulas. I have a query/form that will pull up the current formula, but it doesn't contain the sub-ingredients. For the reader's essay, ingredients are stored like this: "123456 - SUGAR" and if they have a sub or 10 sub-ingredients, it'll look like this: "123456S1 - SOMETHING".
I'd like to know if it's possible to add a button that, when clicked, will search each ingredient listed in the formula for anything S*. Meaning if "123456 - SUGAR" is listed in the formula, it will search for 123456" to add all related sub-ingredients.
Here's a monkey-wrench for ya... Not all ingredients have exactly 6 digit descriptions. Some have 8.
Thank you for any advice/help.