I've been trying to develop a solution where Access will search a directory and list all Word documents, then provide the option of printing one of these documents. Sounds simple, but I haven't been able to accomplish this effeciently. I've tried:
1. Using a command button to initiate the Word program with a macro to start the print. Unfortunately, I've not been able to design a macro that will close Word at print completion. Any exit routine starts before the spool has finished and triggers an error event.
2. I've tried making the table storing the document locations as 'OLE objects', but the format of the document when inserted into a report is nonsensical. 'CLIP' does just that, and clips the document, ZOOM and STRETCH also don't seem to allow the Word document to format properly on a report.
Sorry I'm a relative novice and could use some suggestions.
Mark Curry [sig][/sig]
1. Using a command button to initiate the Word program with a macro to start the print. Unfortunately, I've not been able to design a macro that will close Word at print completion. Any exit routine starts before the spool has finished and triggers an error event.
2. I've tried making the table storing the document locations as 'OLE objects', but the format of the document when inserted into a report is nonsensical. 'CLIP' does just that, and clips the document, ZOOM and STRETCH also don't seem to allow the Word document to format properly on a report.
Sorry I'm a relative novice and could use some suggestions.
Mark Curry [sig][/sig]