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.

Adding records to a related file

Featured Replies

Hello,

I have two related databases, [Customers] and [Publications]. To switch between them I'm using the "Go to Related Record" command. This works fine if related records exist.

However, when a related record does not exist I want to create a new record. I'm assuming I need a conditional statement to trigger this. Which command should I use and how should it look?

Thanks,

Kelly

Best way to create a related record is through a portal. That way, you can be certain that the relationship is properly created.

If you just want to create a new record in the other file, create a script in that file that creates a new record, then in the first file create a script that performs an external script -- you can guess which one.

HTH,

Dan

You can detect an error resulting from the "Go to related records" failure and use that to trigger the creation of a new record.

Go to related record

If (Status(CurrentError) = 101

Perform Script (your new record script)

else

.

.

.

end if

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.