Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable report body
Message
De
22/01/2002 18:01:19
 
 
À
21/01/2002 15:34:17
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00605190
Message ID:
00608694
Vues:
29
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.
>>
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform