ironsuit Posted September 24, 2006 Posted September 24, 2006 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... thanks, Paul
SteveB Posted September 24, 2006 Posted September 24, 2006 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
K1200 Posted September 25, 2006 Posted September 25, 2006 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.
mf Posted October 3, 2006 Posted October 3, 2006 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)
Recommended Posts
This topic is 6984 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 accountSign in
Already have an account? Sign in here.
Sign In Now