Wickerman Posted May 18, 2010 Posted May 18, 2010 I have a Tab Object on a layout with several tabs for viewing/ inputting data in various fields. On the 1st tab, I have a portal displaying a list of Child records (say, Members of a group represented by the current record.) I also have this tab set as the "default" display tab. On the 5th tab, I have a system for creating new Member records for the current group. There are some global fields for theuser to enter the Member info, and a button scripted to create the Child record, and there is a portal similar to the one on the first tab so the user can see the current members. Ok, at the end of the creation script, I clear the global fields and then have GoTo Portal Row Last Go To Row Previous ...so that the user sees the record he just created is there, highlighted and he can go on and add more members. The problem is that when I trigger the script, I wind up back on the corresponding line of the portal on the *1st* tab, not the 5th. I have tried adding a "Go To Object" step before the Go To Portal Row commands, pointing to the 5th tab by object name. Also tried naming the appropriate portal and pointing to *that* -- neither achieves the desired effect! I tried putting the 5th tab over at the 1st tab position -- *there* it works ok -- so clearly, Filemaker just "wants" to go to that left-most tab position awfully badly. How to I script my way back to the proper portal on the 5th tab? thanks!
Raybaudi Posted May 18, 2010 Posted May 18, 2010 ...Also tried naming the appropriate portal and pointing to *that* This MUST work... double check with the script debugger.
Fitch Posted May 18, 2010 Posted May 18, 2010 You've gone to the tab and to the portal -- try going to a field (or object) in the portal.
Wickerman Posted May 18, 2010 Author Posted May 18, 2010 Arghhhh -- of course you're right and it's dumb old human error -- I was working on the final part of a script with 3 "case" scenarios, so when I tested it, I was never reaching the part of the script I was tinkering with. Jeez, this is the sort of stupid, stupid mindblock that wastes an hour and more than an hour in sapped energy. Sorry for wasting ya'll's time.
Recommended Posts
This topic is 5303 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