Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do I go to a specific layout in a related database?

Featured Replies

Hi everybody,

I'm trying to develop a database for our afterschool program to keep a record of our tutees and volunteers. I'm having problems with making the database navigable without using the FMP menu. My question is how I can make a button whose action allows me to go to a specific layout in a related database.

Right now, I have the button open the file, but it goes to the last layout and view mode. I know that the script instructions following "OPEN file" will execute in the file where the script exists, but how do I make the script continue in the file I just opened? Thanks for any help on this problem.

  • Author

It worked. Thank you very much. =)

quote:

Originally posted by OASES:

Hi everybody,

I'm trying to develop a database for our afterschool program to keep a record of our tutees and volunteers. I'm having problems with making the database navigable without using the FMP menu. My question is how I can make a button whose action allows me to go to a specific layout in a related database.

Right now, I have the button open the file, but it goes to the last layout and view mode. I know that the script instructions following "OPEN file" will execute in the file where the script exists, but how do I make the script continue in the file I just opened? Thanks for any help on this problem.

Well, depending on if the specific layout is static or varying, here is some possibilities. First, have a script in the second database that will take you to the desired layout. After the "Open (file)" Script step in your first database, insert the "Perform Script( External Script ) " step and select the script you just created. Filemaker will display the last active file, so as long as no other steps are performed in the first file, you should end in the second file.

If you must continue to perform steps in the first database, have these steps on a seperate script and call that script from the second database with the "Perfrom Script" step and simply add the Pause/Resume script step or the Exit or Halt Script step at the end of whichever script file that you want Filemaker to display. . . confusing enough for you. . .

If the specific layout you speak of changes depending on information from the first database, well, there are possibilities for this as well. But you would know more about that than i with the little information given above.

sorry so wordy,

yafreax

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.