Jump to content

Repeating two pages from two different fields


ddaleki

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...