i make this post in other threat, but i didn’t get reponse. i expect to receive here …
i’m using code: Newmessage(To,CC,Subject,Body,Attachfilename,opendialog) …
with cu397, i assigned text into an ‘emltx’ variable - text - 1024.
i do like this: emltx := ‘Customer :’ + customer"name + ’ ’ ; emltx += 'Address : '+ customer.“address 1” + ’ '; emltx += customer.city;
with codes like this, if i output it to a text box (either in form, report or message) - with TextBox - SourceExpr:emltx;
it will give us result like this: Customer : Some Customer Address : Any Street CertainCity
but if i use: emltx := Newmessage(To,CC,Subject, emltx , Attachfilename, opendialog); as a result, an ms outlook new email appear; To., CC, Subject are correct - but - the message body appear like: Customer : Some Customer\Address :Any Street\CertainCity
obviously this is not the format i want to see in the email body. i need NAV to process’’ sign as a new line command. how to make or force a new line to appear in the email body?
I thank you very much for the feedback you’ve given.
i don’t know that the following message can help you or not !
you need to create the Global Variable as follow :
Name DataType Subtype Length
MSC Automation ‘Microsoft Script Control 1.0’.ScriptControl
chr10 Text 30
chr13 Text 30