Hi Dan, thanks to yourself and the other user who responed to this
question. Here's what I have now
if (ToUpper(Field("PR_FLAG")) == "10220-E")
{
FusionPro.Composition.SetBodyPageUsage("Body 1", true);
FusionPro.Composition.SetBodyPageUsage("Body 2", true);
FusionPro.Composition.SetBodyPageUsage("FRE BODY P1", false);
FusionPro.Composition.SetBodyPageUsage("FRE BODY P2", false);
}
else if (ToUpper(Field("PR_FLAG")) == "10220-F")
{
FusionPro.Composition.SetBodyPageUsage("Body 1", false);
FusionPro.Composition.SetBodyPageUsage("Body 2", false);
FusionPro.Composition.SetBodyPageUsage("FRE BODY P1", true);
FusionPro.Composition.SetBodyPageUsage("FRE BODY P2", true);
}
return ""
When I validate this Rule I get the following reply: "Expression OK"
return value will be ignored on composition.
I still seem to be getting the same result as mentioned earlier. If I
manually set the pages to be Used or Unused through Manage Pages it works,
but it seems like I am still missing something to make it work on the fly.
Thanks,
Richard.
--
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
--
Don't miss The Printable Technologies 2007 User Group Conference at the Monte
Carlo Resort and Casino in Las Vegas, March 14 through March 16, 2007.
For more details or to register, go to
http://www.traveltrust.com/Forms/pt_signup_2007-3.html
--
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
--