Jump to content

Tab view changes when running a script


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

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 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)

Link to comment
Share on other sites

This topic is 6444 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.