<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Courier New, Courier, monospace">Joe,<br>
<br>
Try this:<br>
<br>
declare
hp_ul_on;hp_ul_on=chr("27"){chr("38"){chr("100"){chr("51"){chr("68"){""<br>
<br>
declare hp_ul_off;hp_ul_off=chr("27"){chr("38"){chr("100"){chr("64"){""<br>
<br>
declare hp_bold_on;hp_bold_on=
chr("27"){chr("40"){chr("115"){chr("51"){chr("66"){""<br>
<br>
declare hp_bold_off;hp_bold_off=
chr("27"){chr("40"){chr("115"){chr("48"){chr("66"){""<br>
<br>
i.e. useage:<br>
invline(n)=<b>hp_ul_on&hp_bold_on&</b>z&<b>hp_ul_off&hp_bold_off<br>
</b><br>
Richard D. Williams<br>
<br>
</font><br>
Joe Chasan wrote:<br>
<blockquote cite="mid20090521123420.A16674@magnatechonline.com"
type="cite">
<pre wrap="">I need to turn bold on/off mid field of a form on which there are other
fields & graphic box characters on the same printed line.
i thought that it might be easy - in simple terms:
declare local bold_on; bold_on=bold_on=chr("27")&"(s3B"
declare local bold_off; bold_off=chr("27")&"(s0B"
and
if: some_condition
then: aa=bold_on & aa & bold_off
output
*1 *aa *2
but the problem i have is that if bold on/off is triggered, then
*2 is squashed over to left.
any idea of how to fix? padding it with blanks did it seem to help
and there is no room on form to overcompensate. there is also no way
to just use different lines on output depending on bold on/off needs
aa is of edit type "*".
failing a simple solution i'm going to have fix via tab-stops.
--
-Joe Chasan- Magnatech Business Systems, Inc.
joe - at - magnatechonline -dot- com Hicksville, NY - USA
<a class="moz-txt-link-freetext" href="http://www.MagnatechOnline.com">http://www.MagnatechOnline.com</a> Tel.(516) 931-4444/Fax.(516) 931-1264
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
<pre wrap="">
<hr size="4" width="90%">
No virus found in this incoming message.
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
Version: 8.5.339 / Virus Database: 270.12.36/2126 - Release Date: 05/21/09 06:22:00
</pre>
</blockquote>
</body>
</html>