Print HTML from Memo Notes Fields

Print HTML from Memo Notes Fields

Occasionally there maybe a need to print Memo fields (eg: Job Notes ) in Ostendo with some HTML formatting.

The Report Writer allows for some basic HTML formatting tags to be used.

Example:

We wish to print the following sentence in bold as shown below in the Job Instructions field:

The quick brown fox jumps over the lazy dog

In the Job Instructions field type the following

 The quick brown fox jumps over the lazy dog

In the Report Layout Editor and single click on the OrderNotes field. Then in the "Properties window" set the property of AllowHTMLTags to True

Preview the report and check the notes within the HTML Tags should now show in bold.

The quick brown fox jumps over the lazy dog

If you wish to print the sentence in bold red, then amend the HTML Tags in the Job Instructions to the following

 The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

Please note that only a few tags are supported, but this should be enough for the majority of applications. It is not possible to modify the font size or name by means of HTML tags. 

Further information on HTML tags that are able to be used are available from this link

https://www.fast-report.com/public_download/docs/vcl/FR6/HTML_EN/index.html?html_tags_in_the_text_object.htm