Mike,

An after thought...

If you want the individual's full name and company name to be on separate lines, replace the last line of the rule with:
        return First + " " + Last + "<br>" + Company;

Be sure to check the "Treat return string as tagged text" due to the added "<br>" (line break) tag.

Ryan

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

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;


--
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