VirtualBob Posted October 14, 2020 Share Posted October 14, 2020 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. Link to comment Share on other sites More sharing options...
bcooney Posted October 14, 2020 Share Posted October 14, 2020 Depends on what they do, doesn’t it? You can add an exit script step as the first line. Link to comment Share on other sites More sharing options...
Steve Martino Posted October 14, 2020 Share Posted October 14, 2020 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. Link to comment Share on other sites More sharing options...
bcooney Posted October 14, 2020 Share Posted October 14, 2020 Good idea Steve. Also, you may wish to log the script call, so you as the developer can review the need for the script. Link to comment Share on other sites More sharing options...
VirtualBob Posted October 14, 2020 Author Share Posted October 14, 2020 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. Link to comment Share on other sites More sharing options...
Fitch Posted October 19, 2020 Share Posted October 19, 2020 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. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 1421 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now