This code should do what you are looking for. In your empty text rule, you'll
need to turn on the 'treat returned strings as tagged text' checkbox. Copy in
the following code, make sure the field names match and you'll want to change
the number in the if statement to when you want it to break (I put in 30 as an
example). Good luck!
textContent = Field("addr1") + ", " + Field("City") + ", " + Field("ST") + " "
+ Field("zip");
textSize = Len(textContent);
if (textSize > 30)
return Field("addr1") + "<br>" + Field("City") + ", " + Field("ST") + " " +
Field("zip");
else
return textContent;
Lauren Nackoney
Senior Quality Assurance Engineer
Printable Technologies, Inc.
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 2:52 PM
To: FusionPro Users Forum
Subject: [fusionpro] Copyfit on a line based on amount of characters??
hopefully someone can help me w/ this.
i need to copyfit a line. it cannot be altered by the point size,
tracking, height, width etc. i need to have it break at a certain point to
the next line.
for example:
my basic layout is
addr1, city, ST zip (all on one line)
but if the line exceeds a certain amount of characters, i need to have it
break after addr1 and wrap city, ST zip to the next line.
i've looked on the forum as well as the knowledge base links and i can't
find anything that is easily understood as i have never needed to use this
feature before.
does anyone have any suggestions on a rule that would work? how/where do i
specify the amount of characters where the line should break? is this even
possible to achieve?
any suggestions would be greatly appreciated!
-heather
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!
Do you have a question or lots of knowledge to share about FusionPro Web?
If so, join our Printable Web to Print Users' Forum today!
Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
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
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!
Do you have a question or lots of knowledge to share about FusionPro Web?
If so, join our Printable Web to Print Users' Forum today!
Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
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
--