September 18, 200817 yr Newbies 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, 200817 yr by Guest
September 18, 200817 yr 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
September 18, 200817 yr Why not just use the Esc key to abort the loop? ( pending that you did not turn off user abort)
September 18, 200817 yr 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, 200817 yr by Guest
September 23, 200817 yr 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.
September 24, 200817 yr 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
Create an account or sign in to comment