Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Month is a dual field. I'd like to use it in a set expression.
{<Month={'TextValue'}>} - this script works fine
e.g. {<Month={'Январь'}>}
{<Month={NumericValue}>} - this doesn't work
e.g. {<Month={1}>}
I need to base my set expression in a numeric value of Month for some reason.
Is it possible?
Thank you in advance,
Larisa
is your month in the format like January,Febrauary,etc?
if yes then this should work
{<Month={"$(=Date(Month(1),'MMMM'))"}>}
Create two field like below
Month(Date) as Month,
Num(Month(Date)) as MonthID
Now use MonthID in your set expression.
try
{<Month={$(=Month(1))}>}
it results in null.
Pls try.
{<Num(Month)={NumericValue}>}
I results in error
is your month in the format like January,Febrauary,etc?
if yes then this should work
{<Month={"$(=Date(Month(1),'MMMM'))"}>}
Hi
Sorry, I think the expression should be
date(makedate(year(today()),11),'MMMMM')
{<Month={"$(=date(makedate(year(today()),2),'MMMMM'))"}>}
hth
Sasi