Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6644 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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...
Posted

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)

This topic is 6644 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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