Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WordPerfect Merge
Message
 
 
À
21/03/2003 11:50:26
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00768649
Message ID:
00768699
Vues:
38
This message has been marked as a message which has helped to the initial question of the thread.
Hi Randy,

If you've VFP7 or later, you can use Object Browser to view WP type library and even copy it's constants into VFP header file.

>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!)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform