I have a simple script (the only kind I'm capable of so far) that allows
the FAX number to be optional on a layout, and adds a bullet between
that field and the Direct phone number which precedes it:

if (Field("FAX") == "")

return "";

else

return "* Fax: "+(Field("FAX"))

The Direct phone number used to be required, now it is optional, As the
script is currently written, if both the Direct number and the FAX
number are omitted, I get just a bullet on the printout. I'd like to
modify this script to eliminate the bullet. I believe I should do that
by adding an additional modify which signifies if the Direct field is
null as well, but I keep getting syntax errors.

Any help would be greatly appreciated.

Thanks in advance,

Christopher

 

Christopher Reilley
Business Systems Analyst - Printing
W.B. Mason Co.
59 Centre Street, Brockton, MA 02303
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>


(p) 508.436.8693 
(f) 508.436.5090 
(c) 781.308.2083  

 

<<image001.gif>>

Reply via email to