Susan Posted February 21, 2017 Share Posted February 21, 2017 I had to put together a quick test for a table job. When I compose the file, I get multiples pages of the same table. It should just output 2 pages, not 44 pages. Is there something in my table rule causing this? The file is attached. Quote Link to comment Share on other sites More sharing options...
step Posted February 21, 2017 Share Posted February 21, 2017 The reason you have 44 pages in the output file is because you have 22 records producing 2 pages each. You could change your composition settings to only compose records 1-1. Or, if you're going to have more than 1 record in a composition, you would need to keep track of the field that identifies each "record" and only compose the unique ones. For example, if you want to compose records with unique "reservation numbers," you could do something like this: JavaScript Globals ids = []; OnRecordStart var unique = ids.indexOf(Field("Reservation Number")) == -1; ids.push(Field("Reservation Number")); FusionPro.Composition.composeThisRecord = unique; Quote Link to comment Share on other sites More sharing options...
Susan Posted February 21, 2017 Author Share Posted February 21, 2017 Thanks Ste, That was my problem. Composing 1-1 is what I needed. Susan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.