I have a database that contains information about documents. Each document has a unique ID and there is a single record for each document in the database.
I have a hyperlink field that links to each actual document (either a Word file or a PDF file).
I need the ability to search the contents of those documents within Access. The only option I have come up with is to temporarily create .TXT files from the word/pdf files and then copy the contents of each .TXT file into the Memo field of the corresponding record. Repeat this many times to populate the entire database.
I am looking for some type of automated way to open each .TXT file and copy the contents of that into the memo field, delete the temporary .TXT file, move on to the next record and continue with the next file.
Please offer any suggestion possible.
If there is a way of automating within Access the process of just getting the text directly from the Word or PDF file and copying that, even better if I can eliminate the middle step of creating a tempory file that will only get deleted when finished.
The file names all start with the document ID followed by some other characters.
Thank you in advance for any assistance or suggestions possible.