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

i have a file with a selfjoin based on the record title. each record also has a serial number i use for putting items in order (these are reserialized via scripts). the serial number is used in the selfjoin to display info about the record preceeding it in the sequence, such as the previous date. this means that the first record in the sequence does not have a valid relationship, so i wanted to display a default value with the following calc field (text):

If (IsValid(selfjoin), PreviousRecordInfo, GlobalTextField)

while the first part works in all records, the alternate expression for the first record is never used (the field stays blank). any idea what's wrong with this?

Why not:

If (IsValid(selfjoin), PreviousRecordInfo, "")

You don't need a dummy field.

-bd

  • Author

some users may find it strange that the field is blank. it would be nice to enter something by default. but if it can't be done, it can't be done.

You calculation should work, except for one thing. The IsValid() function checks a field and not a relationship. If should have the form IsValid(SelfJoin::Field). You can actually make up you own test for this without IsValid(). Create a calculation field, Constant (number) = 1. The test would then become:

If(SelfJoin::Constant, "Valid", "Invalid")

Make sure you set the calculation to evaluate if the fields are empty.

-bd

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.