I think this one very is simple but I am getting and error:
I have 4 dates in a table:
DATE1 DATE2 DATE3 DATE4
I add nothing to DATE1, 2 years to DATE2 and DATE3 and 1 year to DATE4 then I select whichever date comes first.
I have created a form and stored the modified dates (i.e. DATE1, DATE2+2yrs, DATE3+2yrs and DATE4+1yr) in 4 different text boxes (formated as dates). I attempted to use =MIN(txtBox1,txtBox2,txtBox3, txtBox4) in the Control Sourse to store the result in a table field called EXP_DATE. I have also tried the function SMALL and no luck so far. I am trying to treat my four dates as an array of dates and pick up the date sooner date.
ANY HELP?
I have 4 dates in a table:
DATE1 DATE2 DATE3 DATE4
I add nothing to DATE1, 2 years to DATE2 and DATE3 and 1 year to DATE4 then I select whichever date comes first.
I have created a form and stored the modified dates (i.e. DATE1, DATE2+2yrs, DATE3+2yrs and DATE4+1yr) in 4 different text boxes (formated as dates). I attempted to use =MIN(txtBox1,txtBox2,txtBox3, txtBox4) in the Control Sourse to store the result in a table field called EXP_DATE. I have also tried the function SMALL and no luck so far. I am trying to treat my four dates as an array of dates and pick up the date sooner date.
ANY HELP?