B
Bigfoot17
I have a document that is filled with FormFields and users go from field to
field filling the fields for a final document. I have been reading up on
'calculated dates' but have not seen a scenario like this.
Three of my formfields are "Date1", "Date2" and "Date180." What I am trying
to figure out is how to evaluate/compare Date1 and Date2 to see which is the
earliest and then provide in Date180 the date 180 days from the earliest
date. (Unless the form is blank there will always be a Date1, but there may
not be a Date2 and if Date2 exists it is prior to Date1).
Here is what I think is the logic (not the syntax):
If Date2 > 0 then
Date180 = Date2 + 180
elseif Date1 > 0 then
Date180 = Date1 + 180
else Date180 = ""
Endif
Not only can't I figure out how to write this I do not know how to get it
display the Date180. Can this be reduced to a calulated field formula? Must
it be a macro? Any guidance is appreciated.
field filling the fields for a final document. I have been reading up on
'calculated dates' but have not seen a scenario like this.
Three of my formfields are "Date1", "Date2" and "Date180." What I am trying
to figure out is how to evaluate/compare Date1 and Date2 to see which is the
earliest and then provide in Date180 the date 180 days from the earliest
date. (Unless the form is blank there will always be a Date1, but there may
not be a Date2 and if Date2 exists it is prior to Date1).
Here is what I think is the logic (not the syntax):
If Date2 > 0 then
Date180 = Date2 + 180
elseif Date1 > 0 then
Date180 = Date1 + 180
else Date180 = ""
Endif
Not only can't I figure out how to write this I do not know how to get it
display the Date180. Can this be reduced to a calulated field formula? Must
it be a macro? Any guidance is appreciated.