ddaleki Posted October 25, 2010 Share Posted October 25, 2010 Project: Repeating two pages from two different fields. Overview: We are trying to print from each record, two base pages (common pages) that require different quantities. The quantity amounts are established from two record fields. The base quantity (100 to 700 pieces) and a smaller quantity of over's. The base and over's quantities will need to be separated using a slipsheet (showing the quantity with page name) and ending the record with a slipsheet. Example: Record 1 would print 200 pages followed by a shipsheet, then print 10 pages followed by a slipsheet. i.e. Base quantity - slipsheet - over's quantity - slipsheet - then next record. The logic we are using is to set up four pages. Two base pages and two slipsheet pages. We can get the base quantity to repeat and slipsheet correctly but can't get the over's quantity to work. Is there a way to repeat more than one Record Count within the same record? PC or Mac FusionPro 7.0P1d PC or Mac Acrobat 8 OnRecordStart Rule FusionPro.Composition.repeatRecordCount = Field("Qty Ordered"); FusionPro.Composition.repeatRecordCount = Field("Overs"); if (FusionPro.Composition.repeatRecordNumber == Field("Qty Ordered")) { FusionPro.Composition.SetBodyPageUsage("Slipsheet test page1", true) FusionPro.Composition.SetBodyPageUsage("Slipsheet test page2", true) } Link to comment Share on other sites More sharing options...
esmith Posted October 26, 2010 Share Posted October 26, 2010 When I first read this post this morning, I didn't think it was possible to assign two unique values to a repeatRecordCount object in a single record, but then I started playing around with a test file. My solution (assuming your setup is similar) is attached. mySolution.zip Link to comment Share on other sites More sharing options...
ddaleki Posted October 27, 2010 Author Share Posted October 27, 2010 Thanks Eric this is working. I appreciate it a lot. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.