How exactly is this button setup? Does it run a script that uses Perform Script to run a script in the other file? or does it just use Open File to open the other file?
How the newer versions of FileMaker handle windows has changed just enough that the window may be opening but the window may not be popping to the front and may not have the "focus" like it did in FileMaker 4. Take a look at the button's script. You may need to add a select window step to bring the newly opened window to the front.
Sorry i haven't replied quick enough i haven't had time to look this over. From the looks of it the button is setup as a "Go To Related Record" script. I have checked to see if the window is hiding behind another and this isn't the case. It doesn't even move to the foreground when I manually open it and press the button.
At this point I'm wondering if I should delete the button and start from scratch. Bare in mind I that an ex-employee created this for us years ago. So if you know of an easy tutorial for bttons I'd appericiate it. I have searched with google and haven't found any that has stood out.
Thank you for your help
P.S. I think I have fixed it by making the button perform an open file script. Hopefully this works completely and I won't have anymore issues.
Button behavior hasn't really changed at all. Window management and how Go To Related Records (GTRR) works have changed.
Right after your Go to Related Records step, Add a select window step and specify the window by using the same name as the file the Go To Related Record step is supposed to open.
A Converted File that uses Go To Related Record, almost always (except for "self join" relationships that link to the same table as the current file) refer to a table in another file and are indeed opening it in a new window. Due to a bug in FileMaker, this window may not be visible in the windows menu like it should.
Also note, that with your new version of Filemaker, the behavior of Go To Related Record has changed in one key way: Previously, if there are no records in the related table that match to the current record, Go To Related Record does nothing. In FileMaker 4, it would have opened the file, but produced an empty found set, so you'll likely need to add a script step or two to either check for the existance of related records just before the GTRR step or to use Get (LastError) = 0 just after the GTRR step to see if the GTRR step actually did anything.