<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Did you ever want to make text bold or underlined inside a text
variable on a form or report and this was not in a set position?<br>
<br>
I often take long text strings that contain field values and wrap
them into an array of variables on a form.<br>
Sometimes there are sections or values I want bold or underlined.<br>
<br>
This is how I do it.<br>
<br>
<font face="Courier New, Courier, monospace">if :<br>
then : declare
hp_ul_on;hp_ul_on=chr("27"){chr("38"){chr("100"){chr("51"){chr("68"){"":<br>
if :<br>
then : declare
hp_ul_off;hp_ul_off=chr("27"){chr("38"){chr("100"){chr("64"){"":<br>
if :<br>
then : declare hp_bold_on;hp_bold_on=
chr("27"){chr("40"){chr("115"){chr("51"){chr("66"){"":<br>
if :<br>
then : declare hp_bold_off;hp_bold_off=
chr("27"){chr("40"){chr("115"){chr("48"){chr("66"){"":<br>
if :<br>
then : z=""{<b>hp_bold_on</b>{"This will be bold."{<b>hp_bold_off</b>{<b>hp_ul_on</b><"This
will be underlined."{<b>hp_ul_off</b><br>
</font><br>
This is just an example.<br>
<br>
Just an FYI<br>
<br>
Richard D. Williams<br>
<br>
<br>
<br>
</body>
</html>