agtjazz Posted June 14, 2006 Posted June 14, 2006 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
Razumovsky Posted June 14, 2006 Posted June 14, 2006 Sounds like a job for a multicriteria relationship: gToday>=StartDate gToday<=EndDate Each record displayed in a portal through this relationship should be active.
agtjazz Posted June 14, 2006 Author Posted June 14, 2006 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.
Razumovsky Posted June 14, 2006 Posted June 14, 2006 case (jb_date_start >= get(currentDate); case(isempty (jb_date_end ); "Active"; jb_date_end >= get(currentDate); "Active") ) Is one possibility.
comment Posted June 14, 2006 Posted June 14, 2006 Case ( jb_date_end ≥ Get (CurrentDate) or not jb_date_end ; "Active" ) is another.
agtjazz Posted June 16, 2006 Author Posted June 16, 2006 (edited) Thanks bunches to the both of you. Edited June 16, 2006 by Guest
Recommended Posts
This topic is 6797 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now