Hi Raul, You can't combine the functionality of two different callback rules that way. The FusionPro.Composition.SetBodyPageUsage function only works in the OnRecordStart rule, and the FusionPro.Composition.CurrentFlow object is only valid in the OnCopyfit rule.
You need to use the FusionProTextMeasure object to measure the table in OnRecordStart (or in a function called from OnRecordStart), as in your previous post. You should be able to get this to work. Don't be afraid to use Print statements in your rules for debugging purposes. I can envision an enhancement to allow body page usage to be set in the OnRecordEnd rule, so that you could store the results from OnCopyfit and then decide which pages to output after everything for the record is composed, but I don't know if that's something that can be easily done within FusionPro. Dan +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 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 --
