Jump to content

Multi output file name


rbjformula.dk

Recommended Posts

Posted

Hi

 

Is there a rule there can look in the data/record file and make a new file when the record change.

 

example:

 

In the record from 1 -25 there is a value : 125

One file named "125.pdf"

In the record from 26-50 there is a value : 126

one fiile named "126.pdf"

In the record from 51-500 there is a value : 130

one fiile named "126.pdf"

Posted

You can check the "Output to multiple files" box on the Output tab of the Composition Settings dialog, and then you can create an OnNewOutputFile rule with syntax similar to this:

FusionPro.Composition.outputFileName = Field("MyFieldName") + ".pdf";

However, you can't currently break the output up into chunks of different arbitrary sizes (number of records) based on input data.

Archived

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

×
×
  • Create New...