ginkoba
Technical User
- Jan 29, 2009
- 60
How do I write a function to highlight when it's within 2wks of currentdate. This is what I have currently and it is taking everything after the 14 days. I want everything from 0-14 not after the 14 days
if currentfieldvalue>=dateadd('d',14,currentdate)
then crYellow
ELSE
crNoColor
if currentfieldvalue>=dateadd('d',14,currentdate)
then crYellow
ELSE
crNoColor