Does anyone have any code or examples of how I would export documents from a Note database. The database is written on a form which have Word documents as attachments. I need to export the word documents into a text file.
It is acceptable to export it has a word document.
Subject: Exporting attached files from a Notes Forms database
Ray,
I’ve mailed this to you also, but I’ve posted it here in case others may want the same answer… This will extract the file to the hard drive - I assume this will meet your minimum requirement. To get the plain text out of the word doc, you could open Word as a COM object, open the file and then SaveAs a text file. However, I’m not sure how to do it. I create Excel spreadsheets with COM using a template file and then shoot them out to the user, so it can’t be too much different.
R/s,
Charlie
'—Get the current data drive and directory dynamically from the Session