I am working on generating an offer text from Pick Database and saving it in another Pick file called OFFERS.
Then I am transferring any selected offer to WORD by using Accuterm FT utility and saving the offer with a DOC extension.
I failed to do TWO things automatically :
1 - Selecting a template having some header and footer to be added to that word file.
2 - Insert another document as a brochure to the same offer which is now in the word file.

The above 2 things can be done easily by the operator, but I want it to be done by program.

I tried an ACCUTERM program which is CREATE.WORD.LETTER but I could not set automaticlaay the filename to be saved as, I can only ask the operator to choose a filename.
I appreciate if anybody can help in this.