Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to call Word with form letter from VFP ?
Message
From
11/07/1998 12:11:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Best way to call Word with form letter from VFP ?
Miscellaneous
Thread ID:
00116476
Message ID:
00116476
Views:
74
In both DataFlex and FP 2.X I have used a form
letter system where the user creates an Ascii file
and embeds references to program variables in angle
brackets:

******************************************************
{(8U}{(s1p20v0s3b4148T} {&a12L}

Rental Services
{(8U}{(s1p12v0s0b4101T}

< N.NAME >
< N.ADDR1 >
< N.ADDR2 >
< N.CITY >, < N.STATE > < N.ZIP >
< N.NOTE >

< LETTER_DATE >

Thank you for making reservations with us...

*****************************************************
(I added the blanks after the carets to avoid
confusing the HTML.)

There was also embedded PCL code as you can see.

This approach worked very well because the user
could create many new form letters without ever
talking to me.

I have not been able to get the embedded PCL
approach to work with Windows 95 so I am considering
abandoning this approach and using WORD, possible
with OLE.

Does anyone know of a way to achieve the same end
result: new form letters can be created without changing
the VFP program?

Peter Robinson
Peter Robinson ** Rodes Design ** Virginia
Next
Reply
Map
View

Click here to load this message in the networking platform