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.

Displaying FOUND records in portals.

Featured Replies

I have a database with two tables.

These tables are related.

One of the table layouts has a portal that displays values from a field in the other table.

Right now it displays ALL of the values.

I would like it to only display the values from FOUND records.

How would I go about doing this?

Portals show related data. Whether a record is "found" or not depends on the table of the current layout, not a related table. "Found" status has no meaning in terms of a portal.

I think you want to change the relationship between the two tables to filter out the records you don't want to show in the portal. If you give a fuller description of your tables, fields, relationships, and what you're trying to achieve, you can get a better answer.

  • 3 weeks later...

I have a database with two tables.

These tables are related.

One of the table layouts has a portal that displays values from a field in the other table.

Right now it displays ALL of the values.

I would like it to only display the values from FOUND records.

How would I go about doing this?

See http://www.fmforums.com/forum/showtopic.php?tid/197149/

Add a TimeStamp field to the table containing the found records. Creat another field in the other table (to which to portal is relating) that is global to hold a time stamp. Add the parameter to your original relationship, GlobalTS - TimeStamp.

After you perform your find (in a layout not containing the portal), enter a value into the GlobalTS (for example using the SetField(GlobalTS::) Get(HostTS) ) script step. and use the replace script step to enter this TS into the TimeStamp for all the found record.

Go to the layout with the portal, now showing only the found set. Of course the scripting will use Freeze window to make things look seemless.

Good luck.

I'm afraid that's not going to work at all in a multi-user scenario, where each user can have their own found set. Marking the found set of one user is going to ruin it for everybody else (not to mention that some records may be locked and cannot be marked).

This topic has come up several times before, for example:

http://fmforums.com/forum/showpost.php?post/278029/

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.