If you need to add a line break in a formula field just use the ChrW function which “returns the single character text string associated with the Unicode value passed in” with the value of 13. The Unicode value associated with 13 is the carriage return.
1 | // Formula Field Code |
2 | "This formula field " + ChrW(13) + " contains a line break!" |
3 |
4 | // Output |
5 | // ------ |
6 | // This formula field |
7 | // contains a line break! |
No comments:
Post a Comment