October 31, 200520 yr 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?
October 31, 200520 yr Use the Select Window [ Target File ] script step following the Perform Script [ External... ] step to bring the other window to the foreground.
October 31, 200520 yr 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.
October 31, 200520 yr Author 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
October 31, 200520 yr Author 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
October 31, 200520 yr Author Also, this function will get me to the related file. How can I choose which screen to go to?
October 31, 200520 yr 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.
Create an account or sign in to comment