Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fomatting an Outlook message from VFP

Status
Not open for further replies.

xk120

Technical User
Jul 24, 2000
17
0
0
US
I have launched Outlook from within VFP and want to add data entered on a form as the Body of the Outlook eMail.

Example:

Name: Frank
Emp Number: 4999
Meno Box: I want to go here tomorrow

I want the above fields enter on a VFP form to appear on an eMail as follows:
----------------------------------
Frank, who's employee number is 4999, has just entered a request to travel.

Special instructions: I want to go here tomorrow

Thanks
----------------------------------
My problem is I don't how to program a carriage return or line feed. When I string all of the above text together I get one lone line of text, not lines separated by empty lines

Bob
 
insert a carriage return like this:

"This is a string"+chr(13)+"This will appear on the next line"
 
For each carriage return add one CHR(13). For each addition extra line space again add one chr(13). ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK :)
 
I think you need to say

line1 +chr(13)+chr(10) + line2

the chr(10) being the line feed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top