Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Servers and Word
Message
From
17/02/1999 10:25:34
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, California, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00188154
Message ID:
00188383
Views:
27
Yes, it is possible. We are currently working on a project which has a component that does exactly this.

The gist of it is that you need to create a VFP COM component that either has set/get methods or exposes properties to let you retrieve values from a table, and a save or update method.
Create the COM object from within Word and reference it's properties to populate the document. Then either trap change events or the save event from Word, modify the values in the COM object and call the COM object save to write to disk.

If you need some specifics I can probably provide you with some.

>Hello All,
>a user on my current site asked me if it is possible to enter a value from within Word ( form field ) ( e.g. a PK value ) and automatically populate some other form fields on the form from Foxpro tables, I recalled an article from Foxtalk Mar 97 by J. V. Petersen, which demonstrated a similar scenario using OLE servers, but did not show a Word example, I'm quite confident of the VFP side but how do I reference Word merge field values?, apologies if this seems a tad on the vague side but what are friends for?
>
>Regards
>Pete Kane
Eric Shaneson
Cutting Edge Consulting
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform