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

Click here to load this message in the networking platform