Hi everyone,
I need to display a text composed of three parts.
I need to have a new line each time a new part begins…
How can I do that?
Thanks in advance
Hi everyone,
I need to display a text composed of three parts.
I need to have a new line each time a new part begins…
How can I do that?
Thanks in advance
how do you differentiate the new parts in the same text…?
did you post a request for multiline already in the forum…?
if you want to use multiline then you can use it in this case… but again depends upon your requirement… how do u bifurcate the text is the key…
Anil.
Yes, I want to differentiate the parts in the same text…
For example:
EXIT(part1+part2+part3);
where part1, part2 and part3 are three texts, I want a newline after each one of them…
Is it possible?
Yes, I want to differentiate the parts in the same text…
For example:
EXIT(part1+part2+part3);
where part1, part2 and part3 are three texts, I want a newline after each one of them…
Is it possible?
yes you can use multiline before part2 and part3 use \ (back slash so that they move on to the next line in the same control)
I don’t understand you very well…
Can you explain more?
For example, with EXIT(part1+part2+part3);
how should I use the \ ?
Be half of Anil,he is suggesting like Exit(Part1+’’+Part2+’’+Part3);
It doesn’t work…
It just displays the \ before the text…
That should be kept in the textbos with multiline property yes for that textbox…
Exit can not give you new lines…!
Anil.
I am not working with a textbox…
K then where are u trying to display the three parts…?
please explain your situation clearly… that will allow us to give proper solution…
Anil.
Where you are desplaying the text(while pritning or as a value of feild)…?Explain the scenario more ?
suggestion of \ works only for the message.
I am using the three texts in the body of a mail…I am using codeunit 397 to create the mail…
Try this
//char1 and char2 are both variables of datatype “char”
char1 := 13;
char2 := 10;
Exit(Part1+format(char1)+Format(Char2)+Part2+format(char1)+Format(Char2)+Part3);
Thank you for you effort…
I tried it…It inserted a space between texts, not a new line…
Sorry that is was 9 not 10.
Try this again
char1 := 13;
char2 := 9;
Exit(Part1+format(char1)+Format(Char2)+Part2+format(char1)+Format(Char2)+Part3);
Sorry, it didn’t work…
Sorry it didn’t work …
Sorry it didn’t work…
Sorry it didn’t work…