ron G Posted March 2, 2012 Posted March 2, 2012 This is a 'quickie'. My application has a tabbed object. Each tab has a portal. One Tab [Membership] has another tabbed interface. One 'tab' on that interface is 'DDESNDP'. On DDESNDP is a portal. Everything works well. However, to check user validity on startup a script is run which is supposed to check the TOP DDESNDP portal row field and then evaluates it. My script steps are: Go to object [ Object Name; "Member Tab"] Go to object [ Object Name: "DDESNDP"] Goto portal row [select; first] In debug, when Goto portal row [first] is run, FM jumps out of the portal and goes to the Top Left Most tab and drops into it's portal. Huh? How can I 'pick off' the top row field of the portal on the "DDESNDP" tab? [NPD in the screen capture above] Thanks
LaRetta Posted March 2, 2012 Posted March 2, 2012 (edited) Attach an object name to the portal. Forget using the tabs part here - just Go To Object [ portal ] and then Go To Portal Row [ whatever ] If you go by tabs, your portal can still mis-select if you add a tab with a different portal (even unrelated) before your existing tab/portal combination, it will be have PRECISELY as you've described - I've watched it in testing for many hours. Further, just counting on stacking order breaks because you can change a field's stacking order. Even if you specify Go To Field[], it can still mis-direct because if you later add that field to a front tab, Go To Field[] will mis-direct to the front tab (even if it is sitting in another field in the portal within the tab. With Go To Object [ portal ] , FileMaker appears to 'stick' to that location. This is true in Windows XP Professional, SP3, FMPA11.0v3 It overcomes all the possible things that can go wrong. Added blue part Edited March 2, 2012 by LaRetta
ron G Posted March 2, 2012 Author Posted March 2, 2012 Perrrrrrrfect. Worked like a charm. Thank you LaRetta!
Recommended Posts
This topic is 4649 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