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.

Conditional Buttontext

Featured Replies

Hi,

I have a button: NEW RECORD

Now if there is already a record, I would like to change the text into: EDIT RECORD

The Problem:

I have two tables: FIRST TABLE, SECOND TABLE

The button is on the layout of the FIRST TABLE and if I klick it goes to layout of SECOND TABLE and will create a related record in the SECOND TABLE.

How could I check if there is already a related record?

(It's a one to one relationship)

THX

by

ChiSao

Edited by Guest

You should test for this in your script or calculation:

IsEmpty( related::ID )

ID here would be whatever you use for a primary key field, since that would always have a value. If it's empty, that means there is no related record.

  • Author

It works

thx

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.