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

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

Recommended Posts

Posted

In version 6 I was able to do the following: In file A have a script that runs a script in File B. The script in File B gets records, goes to a screen and let's you see the screen in File B. In version 7 it always goes back to File A (where the script in File B was started from) so I can't see my records from File B.

Does the question make any sense? Any help?

Posted

Use the Select Window [ Target File ] script step following the Perform Script [ External... ] step to bring the other window to the foreground.

Posted

You need to focus the window to FileB. So in your script (file A) to run the external Script in File B put in an open file command first to open file B or select window afterwards. This will shift it to file B.

However, you may want to look at taking some of the advantages of FM7 and think about combining your files into one file.

Posted

Okay. Thanks. It worked. One major issue. How come you can't pick the window you want from a drop down list. Why do I have to remember the spelling and names of all my windows so I can type it in? Am I missing something?

Mike

Posted

Just saw your answer. Problem is I converted from 6. I had two related files and on conversion they come up separate. Is there an easy way to combine them into a 7 structure or do I haev to start design from scratch? I'm actually working on another one of my 6's and trying from scratch. There are issues there, like getting al the records in properly, and even more how to get all the screen designs into the new db easily.

Mike

Posted

Also, this function will get me to the related file. How can I choose which screen to go to?

Posted

Why do I have to remember the spelling and names of all my windows so I can type it in?

You'll have to type it. Alternatively, you could use a Select Window [ ] step in the external file's sub script.

Also, this function will get me to the related file. How can I choose which screen to go to?

Same way as in previous versions, in the sub-script of the second file, use a Go to Layout[] script step.

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