Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text files in vfp6
Message
De
27/04/2001 23:16:00
 
 
À
27/04/2001 23:05:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00501173
Message ID:
00501175
Vues:
25
>Hi. I want to use some statistics from my dbf's combined with text to send e-mails to my customers (to advise them of order status). I plan to use Nigel Cotes MAPIMAIL class (in download section). How would I programatically create the text file that makes up the body of the e-mail? It appears that it needs to be ASCII? I remember how simple it was in 2.6 DOS (set alternate..., a few @Say's and it was done)
>
>thanks, Randy


You have a few options:

1) The same way as 2.6
2) In code to a varible, then write it out with STRTOFILE()
3) Text merge (my preferred way)
4) Low level file functions (FWRITE(), etc)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform