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.

"If" calculation where result two equals existing field data

Featured Replies

  • Newbies

I am trying to create a SetField script step that validates a records status and changes the status to "Renewal" if the record has expired, here is the calculaton:

If (

RunSheet_PP::Date >= RunSheet_PP::Validate; "Renewal";"VARIABLE?"

)

Where I have "VARIABLE?" I am looking for a value that will leave the fields existing value unmodified. Please help.

Using FM Pro 8.5 advanced

Thanks

Set the field to itself to leave it unmodified.

You could also move the condition from calculation to a script step.

  • Author
  • Newbies

I must have misunderstood somthing, if I put "itself" where I had "VARIABLE?" it just replaces all of the valid fields with the text "itself".

Where did I go wrong?

You need to use the field's name - unquoted.

  • Author
  • Newbies

Ah yes, I went wrong the most obvious way I could. Works great! Thanks!

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.