Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with Word Automation
Message
De
07/08/2001 03:23:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/08/2001 22:18:56
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00540510
Message ID:
00540548
Vues:
16
>Hi All,
>
>I know this has probably been asked a thousand times before but I couldn't find a message with exactly what I was looking for.
>
>Okay, situation. I've set it up in VFP to start an instance of Word, Create a new document, start the mailmerge thingy but Word stops to ask which driver to use to open the table. I've tried to figure it out with Word by starting to record a macro and go through the process but Word keeps freezing up and never finishes or saves the macro. Can I get the oWord.ActiveDocument.OpenDataSource() command that doesn't prompt for which driver to use.
>
>Any help is greatly appreciated.
>
>Aloha,
>
>James

Hi James,
You can download mailmerge class from download section. It's outdated (was with word.basic and MDAC update < ? > spoiled it) but still has the basics.
After strugling with MDAC I resorted myself not to use ODBC at all. For a sample merge w/o ODBC see Thread #457267 Message #457273
It also workarounds memo fields problem with merging. Code was written to support VFP3-5 too. Anyway still not slower than using ODBC way.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform