Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to select records and insert in preformateed MS Word doc
Message
De
06/11/2001 06:46:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to select records and insert in preformateed MS Word doc
Divers
Thread ID:
00577870
Message ID:
00577870
Vues:
58
I want to extract data from table like name, designation, company and add in a preformatted word document. I am able to open word and the file but I am looking for the syntax which will insert the required data on to the specific line.

oWord = CreateObject("Word.Application") && Opens MSWord Application
oWord.Visible=.t.
oWord.Documents.Open('DocumentName.doc') && Opens the Document
oWord.ActiveDocument.MailMerge.OpenDataSource('datapath') && Sets the DataSource

Please help and if possible send cc mail to aslam@gih-ku.com

I am sure I will get enough responses and therefore I thank you in advance.

Regards,
Aslam
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform