Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to create a field that has the result of current date-scan date.
i.e; There is a field called Scan Date, which if doesn't fall within 21 days of current date, the result should be blocked, else unblocked. Tried different expressions but nothing is working.
Hi,
I would add a flag in the load script.
Something like
IF(Today() - [Scan Date]) > 21, 0, 1) As showflag
then in your expressions you can just add {<showflag = {1}>}
Hope this helps
Mark
Try with
If(Num(Today()) - Num([Scan Date]) > 21,
0,
Num(Today()) - Num([Scan Date])
) As showflag
let me know
Sure, I tried the ones that were mentioned earlier. Will try this and let u know. Thanks
Can you give me the step by step how and where to do each step?
Open the expression and write the following:
If(Num(Today()) - Num([Scan Date]) > 21,
0,
Num(Today()) - Num([Scan Date])
)
Thanks Alessandro. This works.
Could you please mark the answer? Thanks