Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable report body
Message
From
21/01/2002 15:34:17
 
 
To
15/01/2002 21:01:57
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00605190
Message ID:
00607970
Views:
30
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.
>
>
~~~~~~~~~~
Denise
~~~~~~~~~~
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform