Hi All,
I have a multiple file database. With the script step Go to Related Records, and using the ‘Show records using external tables layout and ‘show in new window’ I get the following:
If the external file is not open its fine (although it appends the external files window name with a ‘- 2’. If the external file window is already open then it opens an additional one.
Removing the ‘show in new window’ option is fine as long as the external file is already open. If it’s not open then nothing happens at all.
I should know the solution to this but I am drawing a blank!
Many thanks.
David
GTRR script step multiple windows FM8.5
3 posts
• Page 1 of 1
Posts: 58
Joined: Tue Jul 26, 2005 12:08 pm Location: London |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Perhaps you want to test for the window being drawn using the WindowNames () function and call "new window" conditionally based on that?
Or you can remove the "new window" in all cases and simply follow your GTRR with SelectWindow() and the name of your target file. BTW I'd just make a distinction between the file being open (it is probably already open) and its window having been drawn. HTH. John Sindelar
SeedCode |
Posts: 58
Joined: Tue Jul 26, 2005 12:08 pm Location: London |
Thank you John.
Will give it a try. Best regards, David |
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests