mleiser Posted October 31, 2005 Posted October 31, 2005 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?
Ender Posted October 31, 2005 Posted October 31, 2005 Use the Select Window [ Target File ] script step following the Perform Script [ External... ] step to bring the other window to the foreground.
mr_vodka Posted October 31, 2005 Posted October 31, 2005 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.
mleiser Posted October 31, 2005 Author Posted October 31, 2005 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
mleiser Posted October 31, 2005 Author Posted October 31, 2005 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
mleiser Posted October 31, 2005 Author Posted October 31, 2005 Also, this function will get me to the related file. How can I choose which screen to go to?
Ender Posted October 31, 2005 Posted October 31, 2005 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now