Skip 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.

script step to check when no related record exists

Featured Replies

I have a a portal showing records from Table 2. The portal is in a layout linked to Table 1. There is a button in the portal which activates a script to create or update a record in Table 3. I have a script which creates a new related record, or only updates some fields if it finds there is already a related record.

What I can't work out is how to check when there is no record from Table 2 showing through the portal. In other words, if a user presses the button by mistake when there is no record showing in a particular portal row.

I'm sure there is a very obvious function to do this, but I'm dammed if I can find it...

Testing for the presence of the primary ID is sufficient:

If [ not isempty ( Table 2::RecordID )

Go to Related Record []

End If

  • Author

Thanks for your quick response, much appreciated.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.