Jump to content
Sign in to follow this  
_giles_

return current dayname from list

Recommended Posts

Dear All,

I have the following which works fine if the field "day" contains a single value like "Monday", but fails if it contains multiple values (like "Monday Wednesday Thursday"). Can you advise?


If(

day = DayName ( Get ( CurrentDate ) );

"Current" ;

""

)

Many thanks

Share this post


Link to post
Share on other sites

Try =

If ( not IsEmpty ( FilterValues ( DayName ( Get ( CurrentDate ) ) ; day ) ) ; "Current" )

This is assuming the 'day' field contains a return-separated list of day names.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.