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.

Selecting the active portal in a script?

Featured Replies

Somewhere I saw a discussion of how to handle multiple portals on the same layout, but now that I need the information I cannot find it.

I have defined two portals .. on the same table ... one displays rows 1 and 2 and the other displays rows 3 through 12. So far so good ... the portals display the data correctly. However, I have a script that validates the data - which works fine on the first portal, but ignores the rows in the second portal.

How do I specify that I want to access rows in the second portal? And how are they numbered? would the first row in the second portal have row number 1 or row number 3.

Or is this mission impossible?

Patricia

Its amazing that Filemaker hasn't dealt with this issue either in v7 or before. The usual method when you have 2 or more portals on a layout is to go to a field that is unique to the portal. It sounds like both portals have the same fields, in which case you can place a 1 pixel by 1 pixel field...a global will do...on the portal you're having trouble getting to. Then do a GoTo Field(fieldname). Make sure you set the field to not allow entry. By default, Filemaker goes to the portal that was placed on the layout first.

In terms of numbering, each portal starts at row 1.

Steve

There is another fudge which works with copies of the same portal (starting at different row numbers) on a layout and that is to set the tab order to go through the portals in the order that you want. I tend to use just the first field in each portal. Go to the first field and then loop a Go to next field. That will go through the portals row by row. Of course you have to think of some test you can use to stop the script or it will endlessly cycle through the fields in the tab order.

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.