# Navigating between different Filemaker files

**URL:** <https://the.fmsoup.org/t/navigating-between-different-filemaker-files/2816>\
**Category:** Questions\
**Tags:** scripting, integration\
**Created:** [March 16, 2022, 3:43pm UTC](https://the.fmsoup.org/t/navigating-between-different-filemaker-files/2816 "2022-03-16T15:43:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TKnTexas](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@TKnTexas](https://the.fmsoup.org/u/TKnTexas)\
**Post date:** [March 16, 2022, 3:43pm UTC](https://the.fmsoup.org/t/navigating-between-different-filemaker-files/2816/1 "2022-03-16T15:43:43Z")

</div>

In Version 17 I had developed 10 solutions that we used in Accounts Payable, to supplement deficiencies in our accounting program. They did not have a common look. What was common was a script to navigate to the main table on the main layout for that file (CTRL-1). A simple:  
Enter Browse Mode  
Go to Layout XXXXX

Now as I migrate to Version 19, I decided to consolidate to one FILE. So one menu could navigate to the "main layout" in each sub-solution. I had some success, Four of the files are still standalone; I could not get the relationships to work out correctly. So I am working with the Consolidated for the minor solutions and then the individual files for the four major solutions.

I created a menu button to display the nine solutions. Navigating between the external files has been hit and miss.

I have made all five files external sources to each other. For each button I navigate to that main script (CTRL-1). Results are erratic. IN simplistic terms how should I be scripting this.

---

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [March 16, 2022, 4:07pm UTC](https://the.fmsoup.org/t/navigating-between-different-filemaker-files/2816/2 "2022-03-16T16:07:20Z")

</div>

Are you including the "Select Window" step in these scripts?

---

<div class="post-metadata">

**Author:** ![TKnTexas](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@TKnTexas](https://the.fmsoup.org/u/TKnTexas)\
**Post date:** [March 16, 2022, 6:51pm UTC](https://the.fmsoup.org/t/navigating-between-different-filemaker-files/2816/3 "2022-03-16T18:51:39Z")

</div>

No. I do not use that step. In each of the five files I have a script that takes me to the primary layout of that file, so I can use CTRL-1.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/3/38e0805b02762651168240c1a378ce8e128a0796.png)

This is from Checkbook.fmp12. Each CTRL-1 script I use is two lines.

ENTER BROWSE MODE  
GO TO LAYOUT XXXXX

In this file, Checkbook, navigating to A/P Invoice Register and A/P Check Register work, as they should. Navigating to A/P File Cabinet and A/P Operation do NOTHING. This is no script attached to Checkbook option.

---

<div class="post-metadata">

**Author:** ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)\
**Post date:** [March 16, 2022, 8:00pm UTC](https://the.fmsoup.org/t/navigating-between-different-filemaker-files/2816/4 "2022-03-16T20:00:00Z")

</div>

Add that step. It’s not needed for layout to layout movements within a file but it is needed when switching from one file to another.

---

<div class="post-metadata">

**Author:** ![TKnTexas](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@TKnTexas](https://the.fmsoup.org/u/TKnTexas)\
**Post date:** [March 16, 2022, 9:55pm UTC](https://the.fmsoup.org/t/navigating-between-different-filemaker-files/2816/5 "2022-03-16T21:55:38Z")

</div>

Thank you Malcolm. It works.

I am using a popover to display the menu. I ended up creating scripts to 'perform" the script in the remote file, so I could add a CLOSE POPOVER step.

I put the five scripts into a folder and then imported them to all files. Copying the popover button and it all worked. The menu in AP\_Operation will be expanded to go to the different internal tasks.

The SELECT WINDOW step was the key step.
