Moises,
Have you tried doing it with string concatenation? The chr(13) give you a carriage return/line feed to start a new line.
replace email_saida.msg WITH "Dear sir" + chr(13) + ;
chr(13) + emails.msg + chr(13) + chr(13) + ;
"Regards, Moisés F. Pereira" additive
>As I continue to build my own e-mail software,
>I am trying to deal with memos, creating replays to my emails
>
>*******************************************************************
>use email_saida.dbf && use sent emails table
>
>replace email_saida.msg WITH emails.msg && adds older message copy to the new memo
>
>replace email_saida.msg WITH "Dear sir" additive && adds my header
>replace email_saida.msg WITH "" additive
>replace email_saida.msg WITH "" additive
>
>replace email_saida.msg WITH "Regards, Moisés F. Pereira" additive && adds message footer
>****************************
>
>However I did not succeed having my header and footer in my new messagebody ( memo)
>
>I only have copy of the older message
Linda Harmes
HiBit Technologies, Inc.