I have a adreslist with zipcodes that has to be split into two outputfiles based on the zipcodes in a particular field. (2 separate companies deliver it)
Sofar I managed to create the output with the zipcodes of the first company with a java script rule but I can't figure out how to reverse the proces so that I get the missing zipcodes in a second output file for the second company.
Here's the OnRecordStart rule of company 1:
switch (Field("Postcode cijfers"))
{
case "1911":
case "1941":
case "1942":
case "1943":
case "9733":
case "9734":
case "9735":
case "9736":
case "9737":
case "9741":
case "9742":
case "9743":
case "9744":
case "9745":
case "9746":
case "9747":
case "9766":
FusionPro.Composition.composeThisRecord = false;
}
If I just change the last line in "true" it just outputs al the records and that's not what I want.
Any advice here?