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

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

Recommended Posts

Posted

I have 2 files, say PARENTS and CHILDREN. I create a script in PARENTS that says go to a script in CHILDREN. The script in goes to in children gets records, sorts them and goes to a particular screen. The end of this process is to have the user in that final screen in CHILDREN. What's happening is, the script in PARENTS runs the script in CHILDREN except it returns to the screen in PARENTS. How do I get it to stay in the screen in CHILDREN? By the way, I'm running FM7.

Mike

Posted

Hi,

Add the script step "Exit Script" or "Halt Script" at the end of the script in the child and the script will end with the child record in focus.

HTH

Tim

Posted

Exit Script would not work for this, as it only exits the sub-script. And while Halt Script may work (depending on how the focus is being set), it may cause some undesirable consequences, like not completing something else in the Parent script. Exit Script and Halt Script by themselves do not change the focus.

To change the focus, you should use the Select Window [ ] script step to either set the focus to the Child window explicitly, or in the Child script use Select Window [ current window ].

Posted

THANKS! It worked. By the way, if you have the time, could you explain this "focus" issue?

Mike

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