PDA

View Full Version : Search for a list of keywords in a string



vishalbht
03-27-2012, 02:05 AM
Hi,

I have a access database that has a table containing some keywords and those keywords are mapped to some text. I have a functionality which allows users to upload PO data to the access database. this PO data has some Item text. I want to use this Item text and compare it to the keywords table and apply the rules for the keywords where the keywords match the words in the Item text. Please let me know how can we do this

Thanks
Vishal

CreganTur
03-28-2012, 07:52 AM
You can use the InStr function to locate a specific string within a string. This is one option for what you want to do.

HiTechCoach
03-29-2012, 10:00 AM
You can also do it with a Query. In the Where clause use Like with wildcards.