Hello everyone,
After I found out that note fields can be placed across multiple report pages, I am now trying to solve a problem using a note field. For this, I would need to fill it with content. My question is how I can change the formatting of the text via script — in other words, how I can make the font, alignment, etc. of the inserted text variable.
When you read from the field or enter something into it, you always only get plain text, at least as far as I have managed so far.
Thanks for all information and ideas.
Steve
Unfortunately, you can’t. If you want to control formatting from scripts, use a Markdown field.
Cheers, Daniel
---
See https://lab.danielleu.com/tapformspro/ for scripts and tips&tricks
Hi Daniel,
I gave it a try. wehen usingg it in a form this word create (expect when you need a line to be centered, but that is ok. But as soon as you but the field in a report, there is noch formation in the tex and everything is printed in one line. Is that a bug or do I have to make something spezial to make it work?
Cheers, Steve
Found the solution already you need to add a “\\\n” (“\\” to get a ”\” in the line and “\n” for a forced new line) to at the end of the lines for it to work in the Reports 👍