Okay, so here's what I'm going for.
I have an inventory database that has a whooooole lot of part numbers. Every day, we get orders for particular parts.
We create a pull sheet by using a query based on the inventory, and then a report based on that query to make it look nice.
The query originally had 10 parameter inputs for the part numbers. (IE, under the [PART] column, [part 1] or [part 2] or [part 3] or etc etc.)
This works fine, so long as someone types in a PERFECT match. Therein is my problem. Sometimes, because of handwriting or typos, one or two letters or numbers is off.
I found a partial workaround for this. I can use Like "*"&[What Part?]&"*" to bring up all partial matches, but the problem is that I can only use that ONCE or else it brings up ALL of the parts if one is left blank. (IE, if I do Like "*"&[Part 1]&"*"or Like "*"&[Part 2]&"*, and the user only fills in the parameter for part 1 and just hits the enter button for part 2, the entire part list comes up.)
So! I need some help. I don't know if it would be some clever coding that could help to only bring up partials for filled in parameters, or if there's another way to do it.
Thanks!
I have an inventory database that has a whooooole lot of part numbers. Every day, we get orders for particular parts.
We create a pull sheet by using a query based on the inventory, and then a report based on that query to make it look nice.
The query originally had 10 parameter inputs for the part numbers. (IE, under the [PART] column, [part 1] or [part 2] or [part 3] or etc etc.)
This works fine, so long as someone types in a PERFECT match. Therein is my problem. Sometimes, because of handwriting or typos, one or two letters or numbers is off.
I found a partial workaround for this. I can use Like "*"&[What Part?]&"*" to bring up all partial matches, but the problem is that I can only use that ONCE or else it brings up ALL of the parts if one is left blank. (IE, if I do Like "*"&[Part 1]&"*"or Like "*"&[Part 2]&"*, and the user only fills in the parameter for part 1 and just hits the enter button for part 2, the entire part list comes up.)
So! I need some help. I don't know if it would be some clever coding that could help to only bring up partials for filled in parameters, or if there's another way to do it.
Thanks!