Sue,

I think Tom means the button itself, on the layout, has 4 options as to how it calls the script it is assigned. These options are Halt, Exit, Resume, and Pause. The default when you assign a script to a button is Pause, which means it will pause the current script while you are running the new one. What you want is to Exit the current script when the new one is called. Look for it in Layout mode when you are configuring your button.

geoff

On Sep 17, 2008, at 4:55 PM, Sue wrote:

Thanks for your reply, Tom, but this doesn't work. If I include Exit Script as the first step in my go to main menu script, the computer does just that--exits the script that is supposed to take the person to the main menu--NOT the script that was midway to completion. So, essentially, that step disables the Return to Main Menu button. If I put the Exit Script step at the end of the script, it also does nothing.

Am I not understanding what you are suggesting? If so, sorry for being dense and please try to explain what you mean a different way.

Sue


On Sep 17, 2008, at 2:22 PM, Tom Elliott wrote:

Sue,

In the Button Setup dialog for Perform Script you have 4 options for what happens to any currently running script: Halt, Exit, Resume and (the default) Pause. Sounds like the option you want for your Main Menu button is "Exit".

cheers

Tom


On 17 Sep 2008, at 6:37, Sue wrote:

Hi folks,

I continue to have some issues with a filemaker instant web publishing set up and I think it may be due to users initiating one script, then clicking on a button that executes a different script to return them to the main menu before they have completed all the steps in the script they started.

I can not seem to figure a way to ensure that if they click the button to view the main menu, any in-process script is discontinued and exited first or as part of the script that takes them back to the main menu.

Can anyone suggest a solution? I suspect there must be an easy way to do this, but I can't seem to figure it out. If I use the exit script command at the beginning of my return to main menu script, it exits that script. When I put it at the end of the script, it still does not exit the partially completed script.

Thanks for any tips.

Sue

Reply via email to