How to avoid the dates from 25 december 2006 to 5th january 2007 . how can this be validated .
Thanks in advance.
How to avoid the dates from 25 december 2006 to 5th january 2007 . how can this be validated .
Thanks in advance.
Subject: Avoid dates december 25 to jan 5 when selected
In formula language you can test this as follows
@If(Date >= [25/12/2006] & Date <= [05/01/2007]; …; …);
Subject: what i want is the formula should be generic for all the years
what i want is the formula should be generic for all the years,like 2007,2008,2009,etc…
Subject: RE: what i want is the formula should be generic for all the years
You can use the @Day and @Month functions to get the part of the date that you want.
Your logic will then be
If month=12 And day >= 25
Or
month=1 And day <= 5
then failed validation
Subject: Thanks
hi matt, Ur logic was good. Thanks.