Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word Perfect Interface

Status
Not open for further replies.

Jackie

MIS
Feb 9, 2000
148
US
I am working on an application that interfaces with Word Perfect. Data is gathered from a form and the following code is executed: <br>
<br>
Set o = CreateObject(&quot;Wordperfect.Perfectscript&quot;),1,1<br>
o.filenew<br>
o.fileinsert (CurDir() + &quot;\docs\memo.wpd&quot;),1,1<br>
<br>
I am unclear as to what filenew and fileinsert represent. I searched the code to see if these were procedures or functions and did not find any existance of the code except for these statements.<br>
<br>
These statements appear after the above code:<br>
o.bookmarkfind(&quot;coord&quot;)<br>
o.Type (lcmemcoord)<br>
<br>
I believe this is where the Access variables are plugged into the WP bookmarks. I am unclear on the Bookmarkfind and Type commands.<br>
<br>
I reviewed a sample of an Access to Word interface and it references methods specific to Word. Is the above code the same situation as Access to Word?<br>
<br>
Any information would be very much appreciated.
 
I tried to get Word Perfect 6.1 to work with Access and had NO luck. It had no way to connect to any external database at all. <br>
<br>
I'm not sure if the new version (of WP) has a better database capability or not.<br>
<br>
Might I suggest that you see if Word Perfect can Mail merge to a Access or ODBC database.<br>
In Word this is done by mail merging to an existing data source rather than creating a new one.<br>
Also with Word you can connect to a query in Access so you can narrow down the amount of data brought over.<br>
Thats the approach I have used with Word and Access for several years.<br>
<br>
<p> DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br>
 
This code is based on Word Perfect 8.0. I am researching whether it worked prior to be the application not being used.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top