General information
Category:
Forms & Form designer
>What is a good way to create form letters in a VFP application and insert data from a table into each letter like a mail merge file?
You could create the form as a word template... then, with OLE create a new word doc, using your form template and fill in the data with automation.
You can indicate field names in the doc by using syntax like...
[FIRSTNAME]
Then, in your automation code you can do the equivlent VBA command of replace [FIRSTNAME] with (myfile.firstname) etc.
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only