I have created a template that has four body pages: Pages 1 and 2 being
the main Body pages and Pages 3 and 4 being the secondary pages. Based on
a field in my data I want to call only the required pages as needed. Under
manage pages I have set the first two pages to be used and the remaing two
pages to be unused.

I have created an OnRecordStart Rule as follows:

if (ToLower(Field("PR_FLAG")) == "10220-E")
{
FusionPro.Composition.SetBodyPageUsage("Body 1", true);
FusionPro.Composition.SetBodyPageUsage("Body 2", true);
}
else if (ToLower(Field("PR_FLAG")) == "10220-F")
{
FusionPro.Composition.SetBodyPageUsage("FRE BODY P1", true);
FusionPro.Composition.SetBodyPageUsage("FRE BODY P2", true);
}
return ""

When I compose the job using the data that calls "FRE BODY P1" and "FRE
BODY P2", the job composes using "Body 1" and  "Body 2".

I currently have Rules and Variable items that are being used on both sets
of Body Pages. I am not sure if this is causing the problem.

Any help would be appreciated.

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

Reply via email to