R
rich
Hello,
I am developing an application where I need to do some addition on dates.
I have an expiration date.
Case 1:
If the expiration date (a future date) - today's date is less than 30
days, display the field in red.
Case 2:
If the expiration date (a future date) - today's date is 31-45 days,
display the field in Yellow.
Case 3:
If the expiration date (a future date) - today's date is greater than
45 days, display the field in Green.
This code should execute anytime the form loads, or when moving to a
different record.
Can anyone help me with the code?
TIA,
Rich
I am developing an application where I need to do some addition on dates.
I have an expiration date.
Case 1:
If the expiration date (a future date) - today's date is less than 30
days, display the field in red.
Case 2:
If the expiration date (a future date) - today's date is 31-45 days,
display the field in Yellow.
Case 3:
If the expiration date (a future date) - today's date is greater than
45 days, display the field in Green.
This code should execute anytime the form loads, or when moving to a
different record.
Can anyone help me with the code?
TIA,
Rich