View Single Post
  #2  
Old February 4th, 2016, 11:01 AM
ScottHillock ScottHillock is offline
Regular Contributor
 
Join Date: Mar 2010
Posts: 94
Default Re: Composing Several Non-Sequential Records

Create a javascript global with:
Code:
var DupeArray = [];
Create an OnRecordStart with:
Code:
if (DupeArray.indexOf(Field("bg")) > -1 ){
   FusionPro.Composition.composeThisRecord = false;
}
else{
    FusionPro.Composition.composeThisRecord = true;
    DupeArray = DupeArray.concat(Field("bg"));
    }
Reply With Quote