Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable report body
Message
From
22/01/2002 18:01:19
 
 
To
21/01/2002 15:34:17
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00605190
Message ID:
00608694
Views:
31
Hi Denise,

I'm not sure but you can try to put it into a small .prg and test it. I don't have access to Version 5.

Aloha,

James
>Hi James,
>
>That sounds like exactly the kind of thing I need. One quick question -- do you know if this is available in Fox 5.0? Just in case my user wishes to stay in 5.0.
>
>Thanks!
>
>>Hi Denise,
>>
>>Try to use the following and see how well it suites you:
>>
>>
>>#DEFINE MAIL_MERGE_FIELD_TOGGLE 9999998
>>
>>oWord = CreateObject("Word.Application")
>>oWord.Documents.Open(<<Word MailMerge Document here>>)
>>oWord.ActiveDocument.MailMerge.MainDocumentType = 0 && Form Letters
>>oWord.ActiveDocument.MailMerge.OpenDataSource(lcDBFName)
>>oWord.ActiveDocument.mailMerge.ViewMailMergeFieldCodes = AIL_MERGE_FIELD_TOGGLE
>>oWord.Visible = .T.
>>
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform