Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Letter routine with variables
Message
 
To
20/05/2005 08:08:14
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, United States
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01016151
Message ID:
01016199
Views:
8
I let users create their own worddocs, with their own layouts, fonts, colors, watermarks, images, blah blah blah but they use BOOKMARKS that are data elements from the application. I think this is more flexible than having your app create the entire document. It gives control of the doc to the users.

There is a long list of valid bookmarks they can use. They compose the doc and insert the bookmarks where appropriate. Something like: Dear [CLIENTNAME]: Our records show that your last order on [LASTORDERDATE] has not yet.....

So the VFP/WORD automation starts MSWord in the background, opens the doc, performs the bookmark sub, saves the doc to a new file (if requested), prints it, emails it, then closes the original template doc discarding the mods so that it can be used again.

Just another approach....


>I am desiging a new product that needs to give the user the ability to create a letter template and allow for the user to insert variables who's source comes from a table. I know Word has a mail merge function built into
>it, is there anyway I can use this capability in my VFP app or are there any third party products that could provide this functionality ?
>
>Thanks For Your Help !
>Stephen J. Hunt
Previous
Reply
Map
View

Click here to load this message in the networking platform