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.
Juggernaut

Pls. help with "Active" calculation

Featured Replies

Hello,

I have a calculation that shows Active Jobs in a portal... here is the calculation.

Case (jb_date_end ≥ ( Get ( CurrentDate ) );"Active")

It works, but we have found out that some employees' jobs don't necessarily have a job end date (jb_date_end)... so how do I add if jb_date_end is null - job is also active?

Thanks in advance

Sounds like a job for a multicriteria relationship:

gToday>=StartDate

gToday<=EndDate

Each record displayed in a portal through this relationship should be active.

  • Author

I misspoke... I have a portal that shows Jobs (all jobs- active and not)... but on the active jobs I want the word "Active" to display for that row

Some jobs do not have an end date and do not need an end date... I am having problems adding the null end date into the calculation.

Thanks for the quick response.

case (jb_date_start >= get(currentDate);

case(isempty (jb_date_end ); "Active";

jb_date_end >= get(currentDate); "Active")

)

Is one possibility.

Case ( jb_date_end ≥ Get (CurrentDate) or not jb_date_end ; "Active" )

is another.

  • Author

Thanks bunches to the both of you.

Edited by Guest

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.