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.

Date Calc RelationI

Featured Replies

Hi All,

I've made a date calc:

If ( AC.Report Date ≥ AC.gDate Range Start and AC.Report Date ≤ AC.gDate Range End ; 1 ; 0 )

Which does return a "1" when a date falls in the range, but when I use this as the right hand side (left is a fixed "1") of a relation nothing shows up in the portal.

Any ideas?

Thanks

Ian

Edited by Guest

Right-hand side fields must be indexable.

  • Author

Right-hand side fields must be indexable.

Could you expand on that please?

Ian

I am guessing that 'AC.gDate Range Start' is a global field? That would force your calculation to be unstored, thus not indexable. Unstored calcs cannot be used for the right-hand side of a relationship.

Instead of the calc, make your relationship this way:

gStart ≤ Date

AND

gEnd ≥ Date

Edited by Guest

  • Author

ok, I'll give it a try.

Thanks

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.