Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Word Automation
Message
From
07/08/2001 03:23:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/08/2001 22:18:56
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00540510
Message ID:
00540548
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform