Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WordPerfect Merge
Message
De
21/03/2003 11:50:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
WordPerfect Merge
Divers
Thread ID:
00768649
Message ID:
00768649
Vues:
54
Does anyboody have any working code to merge a WP form file and a Fox free table via OLE. I'm working with WP suite 2000 (aka WPWIN9)

This code fragment will give you and idea what I'm trying to do


oWP = CreateObject("WordPerfect.PerfectScript")
With oWP
.MergeODBC("Visual FoxPro Tables","aixtabs")
.MergeRun(2,addbs(datapath)+"plus4a.wpd",4,addbs(datapath)+"aixtabs.dbf",3)
.AppMaximize
endwith

The smaller question that might get me going again is where can I find the enumeration values matching the constants listed below.

The
.MergeRun(
FormFileType:Current!;
FormFile: addbs(datapath)+"plus4a.wpd"
DataFileType:ODBC!;
DataFile:"df.dbf";
OutputFileType:ToNewDoc!)
Randy Hersom
President, Habilitation Software Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform