Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Document File content searching

Status
Not open for further replies.

Savil

Programmer
Apr 28, 2003
333
EU
Hi all
Could someone please give me an example of how to do a keyword search on an OCRd PDF or Word document contents and return the successful matching file names

This is not to search the filenames but the document contents.

Thanks in advance
 
What version of Access are you using?

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
2003 but could upgrade if necessary!
 
As long as you don't upgrade I'd suggest that Application.FileSearch could achieve the results you want.

This isn't available in 2007 (though I hear rumours that eventually somone here will be posting a version that can be used in 2007) [wink]

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
doesn't application.filesearch search for file names in a given folder or can it do what I want and open all files in the given folder and search inside the documents for a particular word?

Need it for Word and PDF documents
 
It can search in the documents for a word.

Have a look at the MatchTextExactly and MatchAllWordForms properties of the FileSearch object.

Hope this helps

HarleyQuinn
---------------------------------
Carter, hand me my thinking grenades!

You can hang outside in the sun all day tossing a ball around, or you can sit at your computer and do something that matters. - Eric Cartman

Get the most out of Tek-Tips, read FAQ222-2244: How to get the best answers before posting.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top