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.

Tab view changes when running a script

Featured Replies

When I run a script the tab view changes....I might be on the fourth tab when I start but when the script completes it will refresh to the first tab.....can't find any script commands to counteract this...:P

thanks,

Paul

This is a constant complaint. Filemaker made a big design error, which I foolishly hoped they would correct with the release of 8.5. The last tab you were on in layout mode has become the new default tab...a completely moronic decision. What you need to do is have a field that is unique to each tab and do a GoTo Field(unique field) and a Commit Record (or an empty GoTo Field()) at the end of the script. You can put a hidden field on each tab and make it very small and non-enterable.

Steve

  • Author

Perfect...well, kind of. THANKS!

In 8.5 adding GoToLayout followed by a GoToObject at the end of your script can return you to the (named) tab of your choice. See the TabScripting.fp7 example in the Tips and Tricks forum for a way to get back to the user's last tab.

  • 2 weeks later...

With the ability to give an object name to a tab, you can use the script "Go to Object" to open the panel on the tab you want.

My question is: is there a way to "get" the currently opened tab? (to save in a variable, for example, so I can go back to it later)

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.