Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mailmerge to Word - Secifying the DataSource
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Mailmerge to Word - Secifying the DataSource
Divers
Thread ID:
00309401
Message ID:
00309401
Vues:
46
I am trying to do a mailmerge with Word. I tried to specify the data source from VFP (rather than have it specified in the Word template, which was causing other problems). It almost works, but Word comes up asking if this is a 'FoxPro or dBase' file.

My command is:
loWord.ActiveDocument.Mailmerge.OpenDataSource("c:\mydbf.dbf")

It seems like there must be a way to identify the file as FoxPro programmatically, but I can't see how. Has anyone run across this?

Thanks in advance.
Mike C.
-------
I keep trying to find a life of my own, apart from you.
DC Talk/Charlie Peacock, In the Light.
www.risensystems.com/ra/itlbegin.rm
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform