Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation Tribulation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Word Automation Tribulation
Divers
Thread ID:
00583019
Message ID:
00583019
Vues:
65
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...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform