steigrafx Posted November 7, 2010 Posted November 7, 2010 I have a script that changes to a "find" layout. If the find is performed the script works fine. However, if the user inadvertently runs the script and then does not perform a find but instead runs a different script, the script is stuck in the paused condition, requiring the user to click either Continue or Cancel. Is there a way to make the script end if it is interrupted in the middle? Here is the script I am using: Go to Layout ["Find Records"(STATS)] View As [View as Form] Set Zoom Level [150%] Enter Find Mode [Pause] Perform Find [] Go to Layout ["Tabbed Form"(STATS)] View As [View as Table] Set Zoom Level [100%] Thank you, Kevin
Matthew F Posted November 7, 2010 Posted November 7, 2010 If you don't want the user to be able to click a button to run another script during the scripted Find procedure, then create a custom layout for running this script. This layout should include search fields but not the button for the other script. If instead, you want to keep that button on the layout, then add a "Enter Browse Mode" to the start of the script called by that button. This will get you out of Find mode and terminate the "paused condition".
steigrafx Posted November 7, 2010 Author Posted November 7, 2010 Thanks very much, mfero. I need all the help I can get! Have a great weekend. Kevin
Recommended Posts
This topic is 5481 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