My question is based on the following code:

if (Field("Address2") == "")
        return "";
else
        return '<br>';

The situation I have is that I have two possible addresses, but if only one exists the second address, including the break space, must suppress. Creating a rule above, I have placed the rule in the break space in an attempt to place a break if address 2 exists, and suppress if not. Unfortunately the break space created too much space between the two address lines.

So i tried the following to force a blank character space and retain the proper spacing:

if (Field("Address2") == "")
        return "";
else
        return '&nbsp;';

Unfortunately, when I upload this and test it, the break space is lost, as I assume the suppression is treating the &nbsp; as an empty variable, or empty space.

I hope I have explained this ok and not been too confusing. Any help is greatly appreciated here.

Thank you,



Jerimiah DuBois
Web/Graphic Designer
[EMAIL PROTECTED]

Alliance Graphics | Printing
5225 Hollister Street
Houston, TX 77040
Direct: 713.333.2539
Main: 713.688.2688
Fax: 713.688.2895
www.alliancegp.net






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