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.

Featured Replies

What is a simple way to test for this?

6 hours ago, Raymack said:

What is a simple way to test for this?

I assume by "this" you mean the absence of related records. Because a portal can be empty even if related records do exist - on account of the portal being filtered.

The test suggested by @bcooney tests for the absence of related records. In normal circumstances, it will return true when no related records exist. However, if something went wrong and the related records do not have a value in their id (i.e. primary key) field, then you will get a false positive. So it is better to test for:

IsEmpty ( RelatedTO::MatchField )

If the match field contains only non-zero numerical values, you can shorten this to:

not RelatedTO::MatchField

 

Edited by comment

  • Author

Thank!  I had a script working fine to delete the portal records, but of course, SOMEONE will hit the DELETE button anyway!  So wanted to test and intercept this possibility...Good to know a new function! Bye R@y

Create an account or sign in to comment

Important Information

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

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.