Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Getting back to a Portal row . . .

Featured Replies

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!

...Also tried naming the appropriate portal and pointing to *that*

This MUST work... double check with the script debugger.

You've gone to the tab and to the portal -- try going to a field (or object) in the portal.

  • Author

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.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.