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.

Trouble with Global field calculation

Featured Replies

I am having trouble with the below calculation:

Case

(

Month ( Get ( CurrentDate ) ) = 1 or Month ( Get ( CurrentDate ) ) = 2 ; (Year ( Get ( CurrentDate ) ) - 1) ; Year ( Get (CurrentDate ) )

)

In the data view it works correctly. The problem I am having is that today the value did not update to 2008 but rather stayed at 2007.

This is a global calculation field used in a multi-predicate relationship.

Any ideas?

Thanks,

Drew

It needs to be unstored, not global.

  • Author

That is what I figured... I was hoping someone had an idea for a work around...

  • Author

I think I will change it to a number global and set the field in the start up script.

If it's for a relationship, an unstored calc will work as well as a global.

  • Author

Problem solved. I changed the calculations to reference a global that is set during start up on the same table. See I needed a Year for today, minus 1 month and minus two months. the minus 1 and 2 months fields just look to the current year global which is the one being set.

Thanks for the help :

Drew

  • 4 weeks later...

I moved Kirks post as you were replying.

See Trouble with a Calculation, in this Topic Area.

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.