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

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

Recommended Posts

  • Newbies
Posted (edited)

Does anybody know a script which lets me exit a loop using a button???.....

I have a loop already, I just need to stop it (but not get rid of it completely).

I'm working on Filemaker Pro 9.

Edited by Guest
Posted

Reading between the lines here Brad is this loop in your startup script cos I cannot think of any other good reason why you would want to stop a loop with a button.

If my goess is right and this (continous?) loop is stopping you opening the file try establishing e relationship to this file from another one. This will open the file remotely and in doing so will by-pass the opening script. You will then be able to modify the opening script.

Hope that helps but if I am completely wide of the mark then please forgive me and please, please tell us - Why do you want to stop a loop with a button?

Phil

Hope that helps

Posted

Why not just use the Esc key to abort the loop? ( pending that you did not turn off user abort)

Posted (edited)

As long as you have NOT used [color:blue]Allow User Abort, or it you have and you have left it ON, then it will work, however, it it is off, you will have to do as Phil suggested.

Edited by Guest
Posted

First line of code I put into any loop is

Exit Loop If [Get ( ActiveModifierKeys )= 28]

which allows you to exit the loop by pressing Ctrl-Alt-Command. Saves a world of heartache if you accidentally create an infinite loop.

Posted

I can think of several but then again I've been known to oops in a loop and not be able to get out when user abort = on..........

I can also see the possibility of using a loop on a kiosk or runtime app.

But the oops is my best reason... LOL

This topic is 5905 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.