Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text files in vfp6
Message
From
27/04/2001 23:16:00
 
 
To
27/04/2001 23:05:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00501173
Message ID:
00501175
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform