<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Nancy,<br>
<br>
These are declared variables that are used inside a prc. table, not
directly on a report format.<br>
<br>
The array is on the "page" as,<br>
i.e.<br>
*ia<br>
*ib<br>
*ic<br>
*id<br>
<br>
The text is a long string containing actual fields or variables and
is wrapped into the array.<br>
<br>
If you want to place a "Dear"<3 or a report, then I would use
regular print codes to make it bold.<br>
<br>
This example is to put bold/underline inside a long string variable.<br>
<br>
ia="I,"{hp_bold_on<3{hpbold_off<"live in Spring, TX."<br>
<br>
Printed would be;<br>
<font face="Courier New, Courier, monospace">I, <b>Richard
Williams</b> live in Spring, TX.</font><br>
<br>
Richard<br>
<br>
<div class="moz-cite-prefix">On 2/13/2020 12:16 PM, Nancy Palmquist
via Filepro-list wrote:<br>
</div>
<blockquote type="cite"
cite="mid:c4b2b1bb-5220-ff5e-b38c-37439048f425@vss3.com">Richard,
Are you missing some quotes? z=""{*hp_bold_on*{"This is bold"
<br>
<br>
As far as I understand, the asterisks are a little out of place in
this line. Could you explain? The variable was displayed in bold
in my read, and I am familiar with the codes that start with * but
I think they should not be part of your string when programming
this. BTW nice note.
<br>
<br>
Nancy
<br>
<br>
On 2/13/2020 11:57 AM, Richard D. Williams via Filepro-list wrote:
<br>
<blockquote type="cite">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>
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=""{*hp_bold_on*{"This will be
bold."{*hp_bold_off*{*hp_ul_on*<"This will be
underlined."{*hp_ul_off*
<br>
<br>
This is just an example.
<br>
<br>
Just an FYI
<br>
<br>
Richard D. Williams
<br>
<br>
<br>
<br>
-------------- next part --------------
<br>
An HTML attachment was scrubbed...
<br>
URL:
<a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20200213/7c29a363/attachment.html"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20200213/7c29a363/attachment.html></a><br>
_______________________________________________
<br>
Filepro-list mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<br>
Subscribe/Unsubscribe/Subscription Changes
<br>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>