November 10, 200520 yr If I press "cancel" after an "enter preview mode (with pause)" script step, the script stops. Is there any way to get it to perform an if statement. ( I tried : error capture/set global to last error/if global=1 … :but to no effect) thanks for any help
November 10, 200520 yr John, AFAIK, no--but I'm sure someone will prove me wrong. My only workaround is to split my scripts, with steps leading up to the preview in one script, and everything after it in a second script. David
November 10, 200520 yr I think the best way is to make this the first step in your script: Allow User Abort [Off] Then there will be no Cancel button. If you want, give the user a choice to skip printing in a custom dialog - after continuing.
November 10, 200520 yr If you have Allow User Abort set to Off at the beginning of your script, a cancel button is never available. And even if Cancel is pressed on a Print dialog, the script will continue as usual.
November 10, 200520 yr Hi, i got a problem with Allow User Abort [Off]. I have done a pop up layout, when i click no it will stop the script and close the pop up and remain to my main layout. But i cannot go back to go back to layout mode anymore or even closing the file. I need to off the whole filemaker program and reopen it again. i got no choice to use [On] then as i got no problem with it at all. what actually happened..? can someone help me with it... thanks a lot...
November 10, 200520 yr Is it possible that you have a Pause in your script that is not showing because the status bar is hidden? I've seen that before.
November 11, 200520 yr Good point! If you press Enter on the number keypad or Ctrl-Return, does the script continue?
November 11, 200520 yr Hi, the last coding for the pop up is pause/resume. and my icon 'no' is close script. If i choose [on], everything will went fine... Sorry i will try your way on mon when im back in the office, then will update you guys again.. Thanks yeah..
November 14, 200520 yr Hi yeah thanks, if i used [Off] i not able to access to layout mode but really when i enter 'enter' i can choose layout mode already. But why? Why does it works this way? anyway i can juse choose layout mode if i wish to and not necessary to enter 'enter'?? thanks a lot..
November 14, 200520 yr You've been asked to list your script. Until we see it, we can't tell how to fix it because we don't know where it's broken. Can you take a moment to list your script steps? LaRetta
November 14, 200520 yr Hi, I jus reliase I can actually attached up file =) This is my 6th day learning to use filemaker, therefore number of doubts, really thanks a lot Kelvin Overseas_Travel_Report_FMP.zip
November 14, 200520 yr Your Yes and No buttons are set to Pause the currently running script, which is already paused. When you press Enter, the original script resumes. Change the buttons to Halt the currently running script (double-click on them in Layout Mode and see the Options in the upper-right corner).
Create an account or sign in to comment