October 14, 20205 yr I know you can disable script steps but is there any way you can disable an entire script? I have some templated solutions that came with FM and just want to turn some off until I have the time to modify them to my needs.
October 14, 20205 yr Depends on what they do, doesn’t it? You can add an exit script step as the first line.
October 14, 20205 yr I add a Show Custom Dialog message before the exit script step to remind you, or a user that there's a script that needs to be enabled. Otherwise someone may be clicking a button and think something is happening when it isn't. For example a button that shows customers with past due balances, etc.
October 14, 20205 yr Good idea Steve. Also, you may wish to log the script call, so you as the developer can review the need for the script.
October 14, 20205 yr Author Thanks for those two ideas. Its just a personal projects database, but it resorts when I change views, so showing a dialog would help me work out which trigger script is causing the actions, as there are about 12 scripts in that area and I don't have the time to pick them all apart. And I gathered there is likely a script step such as exit that would disable it from the start. I'm surprised there aren't check boxes or right-click options to temporarily suspend scripts, but there's likely a solid reason for that.
October 19, 20205 yr It sorts when you change views -- that would indicate a script trigger is active on that layout. You can deal with that in the Layout Setup dialog.
Create an account or sign in to comment