I am having a moment and it seems all the code I add blows up my logic. I would really like this code:
{if DOCUMENT.FAXEDREC == "" then "" else "Faxed records imported: "endif}
To print the words - Faxed records imported - as bold. Can anyone help me get this bold?
Thanks in advance!!
We have some code (taken out of context here.)
case (last_type=="Td")
status="DUE NOW"
format_inst="B,U"
return initialcap(metric)+"|"+"No prior Tdap"+"|"+"Now"+"|"+status+"|"+instructions+"|"+format_inst
In that last line, it's returning a sentence with DUE NOW formatted as bold and underlined.
Hope that starts you....
Jonathan
Replying to myself:
In that last line it creates a variable that is later used in by the fmt mel fuction:
fmt
description
Applies rich text formatting (RTF) to text in contexts where an RTF editor is unavailable.
type
MEL utility function
syntax
fmt(expression, format_code)
arguments
expression A MEL expression that evaluates to a string value. The expression can include text strings, data symbols, or function calls.
format code Optional. The format code to be applied to expression. This parameter can be an empty string.
B, BOLD Turn on bold formatting.
I, ITALIC, ITALICS Turn on italic formatting.
U, UNDERLINE Turn on underline formatting.
n, Increment the font size n point sizes relative to the document’s default font size. A negative value decrements the font size. The resulting point size must be greater than 4 points and less than 72 points.
Each format code consists of one or more codes separated by commas.