I have 3 fields:
1. Date_field
2. Unit_field ( "D" = day, "M" = Month)
3. Length_field (number)
(If Unit_field = "M" and
Length_field = "1" then (length_field * 30) will give me the "number of days".
I want to take the "number of days" and add it to the Date_field.
Example:
Date_field = date (2004, 07, 01)
Unit_field = "M"
Length_field = "2"
Therefore, I want to add 60 days to 07-01-04
How can this be done with a formula.
1. Date_field
2. Unit_field ( "D" = day, "M" = Month)
3. Length_field (number)
(If Unit_field = "M" and
Length_field = "1" then (length_field * 30) will give me the "number of days".
I want to take the "number of days" and add it to the Date_field.
Example:
Date_field = date (2004, 07, 01)
Unit_field = "M"
Length_field = "2"
Therefore, I want to add 60 days to 07-01-04
How can this be done with a formula.