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.

Testing for existing related records

Featured Replies

Is there an easy way to test for the existance of related records?

Currently I create a field in the child that is a calculation = 1

I then create a calculation field in the parent that tests for the sum of the related records > 0

I would prefer only having to define a field at the parent level only if possible for a visual indicator of existing child records, and to use no fields at all if I am testing for child records in a script...

IsEmpty ( Child::ParentID )

Or, assuming you have a serial number in the child table:

IsEmpty ( Child::ChildID )

If the ID's are numbers, and they do NOT include zero, the test can be:

If [ Child::ChildID ]

# THERE IS AT LEAST ONE RELATED RECORD

...

Else

# THERE ARE NO RELATED RECORDS

  • Author

Many thanks Comment, you are as always a life/time saver!

:

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.