Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending a record
Message
 
 
To
26/03/2008 12:34:30
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01304608
Message ID:
01305762
Views:
16
>Thank you so much Naomi, I did what you have advised but unfortunately the record did not stick to the outlook and I do not ow why, maybe I missed something here is the code:
>Thank you
>
>DECLARE INTEGER ShellExecute IN shell32.dll ;
>  INTEGER hndWin, STRING cAction, STRING cFileName, ;
>  STRING cParams, STRING cDir, INTEGER nShowWin
>  lcMail = "mailto:test@mycompany.com"
>ShellExecute(0,"open",lcMail,"","",1)
>
>#define CRLF chr(13) + chr(10)
>lcStr = 'test'
>for i=1 to fcount()
>  lcStr = CRLF + m.lcStr + field(i) + ": " + transform(evaluate(field(i)))
>next
>
>Regards

Well, you didn't put it in the subject, that's why <g>

ShellExecute should go after your lcStr. Re-read the link I gave you more closely, please.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform