Heather;

I think this might be what you are looking for...


sizeCheck1 = Len(Field("Name") + " " + Field("MInitial") + " " + Field("LName") 
+ ", " + Field("Designations"));

sizeCheck2 = Len(Field("Name") + " " + Field("MInitial") + " " + 
Field("LName"));

sizeCheck3 = Len(Field("LName") + ", " + Field("Designations"));

textContent1 = Field("Name") + " " + Field("MInitial") + " " + Field("LName") + 
", " + Field("Designations");

textContent2 = Field("Name") + " " + Field("MInitial") + " " + Field("LName") + 
"<br>" + Field("Designations");

textContent3 = Field("Name") + " " + Field("MInitial") + "<br>" + 
Field("LName") + ", " + Field("Designations");

textContent4 = Field("Name") + " " + Field("MInitial") + "<br>" + 
Field("LName") + "<br>" + Field("Designations");


if (sizeCheck1 <= 21)  {
        return textContent1;
}
else  {
        if (sizeCheck2 <= 21)  {
                return textContent2;
        }
        else  {
                if (sizeCheck3 <= 21)  {
                        return textContent3;
                }
                else  {
                        return textContent4;
                }
        }
}



This rule will limit any line that is printed out to be no more than 21 
characters long. However, the only problem that I can see with this rule as you 
described it is if there is no middle initial, it will print a double space.

---
David A. Sweet
Web Designer/Graphic Designer
HKM Direct Market Communications
A DirectConnectGroup Company

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 20, 2007 12:58 PM
To: FusionPro Users Forum
Subject: [fusionpro] RE: NameCount Rule - ALMOST THERE.

oh - and - yes, i do want to display textConten2.

as you can tell, i have been struggling w/ this.

thank you so much for anymore input!

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
FusionPro 5.0 Now Available!


Variable text on a curve and soft drop-shadows for variable text


LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade

New licenses available for $599 each at:
http://fusionpro.printable.com/store/

All FusionPro 5.0 customers to receive FusionPro 5.1 with
Adobe Acrobat 8 and InDesign CS3 support when released for FREE.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
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
--


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 
5:15 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 
5:15 PM
 

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
FusionPro 5.0 Now Available!


Variable text on a curve and soft drop-shadows for variable text


LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade

New licenses available for $599 each at:
http://fusionpro.printable.com/store/

All FusionPro 5.0 customers to receive FusionPro 5.1 with
Adobe Acrobat 8 and InDesign CS3 support when released for FREE.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
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