Thanks for the link Jayesh,
I already create the file for mail merge now successfully. I was hoping to automate the MSFT Word portion (the label configuration/selection/preview/etc).
>You can use FFC for mail merge.
>
>Here is the link to get more info:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/ffcmail_merge_object.asp>
>Though Office Automation is backward compitible, you should test your code against all versions you have.
>
>>We want to automate creating labels in MSFT word based on the data in our local tables. In all cases, we already do a select statement to create a temporary cursor for creating reports and mailing labels, but we want to add the Word mailmerge option as another label option. I haven't done mailmerge in VFP with Word in the past so I am looking for ideas and recommendations. The user could have any version of MSFT office.
>>
>>Ideas?
>>
>>TIA,
>>Tracy
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"