View Full Version : Query to find the clostest match


Cathy_d92
11-30-2009, 10:06 AM
hello,

I need my parameter query to find to closest match to what my user enters... similar to what google does.

e.g the user types in "coffee" and the query brings up "coffee and walnut"...

I dont know whether this is even possible. I'd much appreciate any help you are able to give me as my knowledge of databases is very limited.

Thanks :)

boblarson
11-30-2009, 10:44 AM
Well, you can use this in the query's criteria:

Like "*" & [Enter Parameter] & "*"

or if you use a form to input the value

Like "*" & [Forms]![YourFormNameHere]![YourTextboxNameHere] & "*"

Cathy_d92
11-30-2009, 11:33 AM
THANK YOU SOOOOOO MUCH!!

Did exactly want I needed it to do first time round

:D:):D

boblarson
11-30-2009, 11:39 AM
Glad we could help.

Oh, and by the way, I forgot to say:

http://downloads.btabdevelopment.com/screenshots/welcometoawf.png