Jump to content

Table Outputs Multiples


Recommended Posts

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.
Link to comment
Share on other sites

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 = [];


var unique = ids.indexOf(Field("Reservation Number")) == -1;
ids.push(Field("Reservation Number"));
FusionPro.Composition.composeThisRecord = unique;

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...