August 18, 201114 yr Newbies ...I would like to return to a specific OBJECT after I edit a layout. How do I use script triggers (or any script) to make sure the "TAB" / object I was working on in Layout mode..returns me right back to the object I was editing. I already have a field setting the current or last used TAB/OBJECT.....but unable to go to this object when I exit Layout mode. Anyone?
August 18, 201114 yr You could probably set a global variable to the frontmost tab name with an OnModeExit trigger, and then use that to go to the tab with an OnModeEnter trigger. Or you could just use the tab object options to set the default tab to the one you're working on (but remember to set it back when you're finished).
August 19, 201114 yr Filemaker isn't built to automate actions around layout editing. You could make an OnModeEntry script, but I don't think you'll be able to distinguish between coming from Layout Mode versus from any other mode. Unless you have an OnModeExit script when leaving Find or Preview that clears that variable and you never go from Find or Preview to Layout. You could make the tab the frontmost tab. If it's not supposed to be when users are using it, change it back when you're done editing the layout. I'm guessing you're working with some heavily nested tabs and I think you're out of luck.
Create an account or sign in to comment