I am having trouble with this one.
I have 4 conditions that require the pages 'datehigh' and 'datehighP2'
Is there a better way to write this. This isn't working. Right now if any of
the first 4 conditions are true then all 4 pages of the document populate
instead of just 'datehigh' and 'datehighP2'.
if (Field("letter*************]") == "UH300-40000-0001-0")
{
FusionPro.Composition.SetBodyPageUsage("datehigh",true);
FusionPro.Composition.SetBodyPageUsage("datehighP2",true);
}
if (Field("letter*************]") == "PL300-40000-0060-0")
{
FusionPro.Composition.SetBodyPageUsage("datehigh",true);
FusionPro.Composition.SetBodyPageUsage("datehighP2",true);
}
if (Field("letter*************]") == "UH300-40000-0027-0")
{
FusionPro.Composition.SetBodyPageUsage("datehigh",true);
FusionPro.Composition.SetBodyPageUsage("datehighP2",true);
}
if (Field("letter*************]") == "PL300-40000-0081-0")
{
FusionPro.Composition.SetBodyPageUsage("datehigh",true);
FusionPro.Composition.SetBodyPageUsage("datehighP2",true);
}
else
{
FusionPro.Composition.SetBodyPageUsage("datelow",true);
FusionPro.Composition.SetBodyPageUsage("datelowP2",true);
}
return "";
Thanks for any help.
Ryan Graybeal
****
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--