Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation Tribulation
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Word Automation Tribulation
Miscellaneous
Thread ID:
00583019
Message ID:
00583019
Views:
63
Hello everyone,

I am trying to stop the message dialog 'Confirm Data Source' from appearing in MCS Word during my mail merge. Once there, I select 'Foxpro Files - Word Via ODBC(*.dbf)', which I would like to specify/bypass through code.

I suspect I must add something to this statement from my program:

oMCSWord.activedocument.mailmerge.opendatasource('c:\vfpwork\prtwork',)

I used Word macros and viewed the code where I saw a 'sourcetype=DBF' statement and tried to add that to my code without success.

Also tried to bypass ODBC but need to use it to merge memo fields (I think).

Help!
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Next
Reply
Map
View

Click here to load this message in the networking platform