Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word 2000
Message
De
29/06/2000 09:44:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Word 2000
Divers
Thread ID:
00386402
Message ID:
00386402
Vues:
54
Hi All,

So I’m using the Mail Merge class that I got off of the “Thread” and it works fine. I do have one problem; Word 2000 comes up with “Confirm Data Source”. This isn’t too much of a problem because all of the choices work. However, it would be nice not to have that come up.

Thanks,
Dennis


Not all of the code but, enough for you to get the drift….


cDSN = "DSN=FoxPro Files;DBQ="+lcDefDir+";DefaultDir="+lcDefDir+";"
cSourceDB = ""
cSourceType = "DBF"
cOther = "DriverId=536;MaxBufferSize=512;PageTimeout=5;"
cDataSource = dbf(lcFreeTable)
cSQLStatement = "SELECT * FROM "+lcFreeTableName+".dbf"

oWordDocument.MailMergeOpenDataSource(cDatasource,,, 1 ,,,,,,,;
,cDSN+cSourceDb+cSourceType+cOther, cSQLStatement) && Open data source - Link to source
Répondre
Fil
Voir

Click here to load this message in the networking platform