Format text in part of a string
2 posts • Page 1 of 1
Format text in part of a string
I have a report that the heading and body text change based on a formula in the report.
Part of the formula needs to be bold but the remaining portions do not. I want to make only the cstr(Sum ({ado.unpaid}, {ado.T_sCode})) bold in the following formula with the remaining text not bold, can anyone help?
if {?Notice} = '10-Day' then 'You are required to pay $' + cstr(Sum ({ado.unpaid}, {ado.T_sCode})) + ', payment of which must be in the form of certified funds or money order, within 10 days of receipt of this notice, to the landlord agent named below, or in the alternative, to vacate and surrender possession of the premises.' else
Thanks in advance
Part of the formula needs to be bold but the remaining portions do not. I want to make only the cstr(Sum ({ado.unpaid}, {ado.T_sCode})) bold in the following formula with the remaining text not bold, can anyone help?
if {?Notice} = '10-Day' then 'You are required to pay $' + cstr(Sum ({ado.unpaid}, {ado.T_sCode})) + ', payment of which must be in the form of certified funds or money order, within 10 days of receipt of this notice, to the landlord agent named below, or in the alternative, to vacate and surrender possession of the premises.' else
Thanks in advance
- mikef001(Legacy Member)
Re: Format text in part of a string
Hi.
If you try something like this (in Basic syntax):
Dim TextBody as String
TextBody = "<b>FirstName:</b> " + {MyTable.FirstName}
and then format text for "Text Interpretation = HTML", then the headline (FirstName) will be bold and the name is regular text.
If you try something like this (in Basic syntax):
Dim TextBody as String
TextBody = "<b>FirstName:</b> " + {MyTable.FirstName}
and then format text for "Text Interpretation = HTML", then the headline (FirstName) will be bold and the name is regular text.
- Capura(Legacy Member)
2 posts • Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 1 guest