You're getting very sleepy... sleepy!

SORRY... Replace the three variable fields and adjust as needed. Insert new rule into where you want it to be.

---------------

var First = Field("FirstName")
var Last = Field("LastName")
var Company = Field("Company")

if (First == "" || Last = "") //if either First or Last are empty
        return Company;
else
        return First + " " + Last + ", " + Company;

----------------

This will return either:
"Acme Products"
or
"Joe Smith, Acme Products"

Hope that hepls!

Ryan

--
Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] --
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to