Thank you Carl,
but my application is stand alone, not in WebDirect. Do you know some script model or plug-in that do this work?
If you are going to use the technique I mentioned then it works just as fine in FileMaker Pro / Go also.
Although this won't exactly do what you've mentioned, in other words it won't just take a FileMaker layout to Word, it does allow any data from FileMaker to be added to Word templates: 360Works Scribe: FileMaker plug-in to read and write PDF, Word, Excel files
We have various insurance FileMaker systems that output to all types of Word generated insurance documents such as certificates, renewal invitations, endorsements, etc. which works very well.
Is keeping Word formatting really a requirement? That's a tough one and, is it REALLY worth it?
That formatting requirement means you could end up spending many, many (frustrating) hours and possibly spending hundreds of dollars on FMP-ONLY plug-ins.
I would try to get away from Word and other proprietary formats as much as possible.
See if you can't do PDF or even just text. (No company can make text proprietary.)
You could write an agent or scheduled task of some type that could look in a directory for "text" files (output from FMP, perhaps) and then that agent would create Word documents from those text files.
Or, you could write a small program that you call FROM FMP that would take output text and then that program would write a Word document.
But, I'd try to just stick to text. I don't say that just because FMP can't export to Word. Text is king!
Who wants to double click a ".doc" file anyway these days (viruses, ransomware, ...)?