JeremyT Posted June 3, 2014 Share Posted June 3, 2014 I am working on a job that has 4 versions of a newsletter each week. I am able output so that each version gets it own pdf output labeled based on "IssueID" field - Issue 1.pdf, Issue 2.pdf, Issue 3.pdf, Issue SE.pdf. For this merge I only want Issue 1.pdf output. Currently it puts all versions in Issue 1.pdf I've done other merges where the output file is renamed, but this is a little different again. Eventually, I will need to have it output other versions, too i.e. Issue 1 and Issue 2, but not Issue 3 or Issue SE. This is what I have in a OnRecordStart: var DateShort = FormatDate(Field("Date"), "m-dd-yy") if (FieldChanged("Issueid") && Field("Issueid")=="I-1") { var outputName = DateShort + " Issue " + Field("Issueid") +" - Merge." + FusionPro.Composition.outputFormatExtension; FusionPro.Composition.OpenNewOutputFile(outputName); Print("Changing to output file: " + outputName); } Thanks, Jeremy Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 3, 2014 Share Posted June 3, 2014 Just set FusionPro.Composition.composeThisRecord to true in OnRecordStart based on whatever condition you want. 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.