:roll: For a beginner in C/side (me)...
What is the expression to have a new line in a string, for instance if I want to have a message with 2 lines what is the syntax (I know it for other languages, like '\n')?
//example
text01 := 'first line..... second line';
MESSAGE(text01);
My candle burns by both ends, it will not last the night,
But oh my foes and oh my friends, it gives a lovely light
0
Comments
HTH,
Daniel
RIS Plus, LLC
Is there a way to have a new line in a Tooltip on a form ?
The '\' doesn't work apparently.
Definitely, I'm a beginner.........
But oh my foes and oh my friends, it gives a lovely light
RIS Plus, LLC
I think it is not possible to have a new line in a Tooltip
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
For instance if I have this code : The result is "Text of the field 1\Text of the field 2"
How to have a new in this case ?
Thanks again for all your help.
But oh my foes and oh my friends, it gives a lovely light
Note: The control must be long enough to show one whole line. Otherwise the new line doesn't work. :roll:
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
But the problem occurs only in a report.
I can have a text box in a form with several lines, in a message too but not in a report.
In the report, Navision print '\' instead of give a new line. I suppose there is an other syntax to have new line, but I don't know which.
But oh my foes and oh my friends, it gives a lovely light
I thought that I had the solution, but it didn't work.
...
Everybody on-line.
...
Looking good!
Then, when the condition to change the line is there I can use that kind of code :
Then, in the report I have a new Table body for each dimension possible and in the OnPreSection trigger I simply use this code (for instance) :
But oh my foes and oh my friends, it gives a lovely light