Newbies B.R.A.D Posted September 18, 2008 Newbies Posted September 18, 2008 (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 September 18, 2008 by Guest
Inky Phil Posted September 18, 2008 Posted September 18, 2008 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
mr_vodka Posted September 18, 2008 Posted September 18, 2008 Why not just use the Esc key to abort the loop? ( pending that you did not turn off user abort)
Newbies B.R.A.D Posted September 18, 2008 Author Newbies Posted September 18, 2008 I didn't realise I could do that, thanks, that helped a lot.
Lee Smith Posted September 18, 2008 Posted September 18, 2008 (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 September 18, 2008 by Guest
Dane Posted September 23, 2008 Posted September 23, 2008 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.
Cabinetman Posted September 24, 2008 Posted September 24, 2008 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
Recommended Posts
This topic is 6254 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