I am adding a line break in a saved search formula...
# general
p
I am adding a line break in a saved search formula where I combine 2 fields using a <br> tag. Looks good on the screen but when I export to Excel or PDF I am not getting the line break. How can I have a line break also occur on the export?
m
Try
\n
k
I'm curios to know if this works. I'm guessing you want the line break inside your cell as opposed to creating a new line, right?
m
Hopefully NetSuite would escape this correctly but I wouldn't put any money on that
p
@KevinJ of Kansas correct. Need the line break inside the cell.
@michoel \n did not work unfortunatetly. I also tried CHAR(10) but that didn't work either.
😞 1
Ok - so using chr(10) does work. You just need to go into the excel file and click in each cell for some reason. This is my formula:
{name}||chr(10)||{number}
👍 1