>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...
Yes, Word can be controlled from Visual FoxPro. This is called "Automation". I don't precisely have experience with Word, but I do it regularly with Excel. See if my article on Excel Automation -
http://www.utmag.com/wconnect/wc.dll?9,7,10,1562 - can help as a starting-point - perhaps you can do some experimentation, and then ask back in this forum. There is also a book - I remember that one of the authors is Tamar Granor - about Office Automation.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)