Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7064 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

While i search the forums here for my answer i thought i'd ask the question (I suck at useing search tools for some reason).

I'd like to stop a running paused script. It comes down to me modify'n another solution that i did not write and the previous programmer didn't add in a return to menu button in this find algorithm. The algorithm sets a few globals, then goes to layout to collect the search criteria and does a pause/resume script step right after that is an if statment that checks to make sure both fields on the layout are full of something and does the find or informs the user that either or both fields where still empty.

I'm trying to figure out how to cancel this in the easiest and cleanest way possible. I'd like to just put a button with a exit script step on the layout that issues an exit script command and then does runs my go to reportmenu script but that doesn't seem to be working.

Thanks for the help guys!

Posted

I'd like to just put a button with a exit script step on the layout that issues an exit script command and then does runs my go to report...

Do exactly that. In the button definition, set the button option to Exit Script (or Halt Script) and have it perform your report script.

Posted

Do exactly that. In the button definition, set the button option to Exit Script (or Halt Script) and have it perform your report script.

you know I tried it but not quite that simply (setting the current script to exit helped alot, i was trying to issue the exit script in my return to main menu.

It must be monday eh?

This topic is 7064 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.