This almost works!

 

However, it is conflicting with another rule. I have three rules that
control one line of text in the layout.

 

First rule, titled DirectReturn:

 

if (Field("Direct") == "")

return "";

else

return "Tel: "+(Field("Direct"))

 

Second rule, titled ExtReturn:

 

if (Field("Ext") == "")

return "";

else

return "Ext: "+(Field("Ext"))

 

Third Rule, titled FAXReturn:

 

> Var1 = Field("Direct");

> Var2 = "* Fax: "+(Field("FAX"));

> if ((Field("FAX") == "") && (Field ("Direct") == "")) return ""; else 

> return Var1 + Var2;

 

When I compose, I get:

 

Tel: 555-111-2222 Ext: 123 555-111-2222 * Fax: 555-222-3333

 

The direct field reiterates twice. All three fields have to be optional.
The bullet has to separate the Fax field and anything that comes before
it, unless there is nothing before it, the I need just the Fax field.

 

I suppose the best thing would be to contain all three into one rule,
but that is beyond my limited ability. 

 

I appreciate your help more than I can properly convey.

 

Thank you so much.

 

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