BurnsNH Posted June 2, 2015 Share Posted June 2, 2015 I want to create a conditional process that will skip records if "State" = NH, MA or VT. Please provide a sample. New to FusionPro. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 2, 2015 Share Posted June 2, 2015 In OnRecordStart: switch (ToUpper(Field("State"))) { case "NH": case "MA": case "VT": FusionPro.Composition.composeThisRecord = false; } Or, more succinctly: FusionPro.Composition.composeThisRecord = ["NH", "MA", "VT"].indexOf(Field("State")) < 0; 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.