Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to call Word with form letter from VFP ?
Message
De
11/07/1998 12:11:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Best way to call Word with form letter from VFP ?
Divers
Thread ID:
00116476
Message ID:
00116476
Vues:
76
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform