Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WordPerfect Merge
Message
 
 
To
21/03/2003 11:50:26
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00768649
Message ID:
00768699
Views:
40
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform